Преглед изворни кода

Merge branch 'dev' into dev-rewardPoints

bianjunhui пре 6 дана
родитељ
комит
8105345d9b
1 измењених фајлова са 2 додато и 0 уклоњено
  1. 2 0
      packages/Webkul/BagistoApi/src/Dto/SaveCheckoutCartInput.php

+ 2 - 0
packages/Webkul/BagistoApi/src/Dto/SaveCheckoutCartInput.php

@@ -45,6 +45,8 @@ class SaveCheckoutCartInput
     #[ApiProperty(description: 'Shipping insurance toggle. Pass "-1" to leave unchanged, "1" to apply, empty string to remove.')]
     #[ApiProperty(description: 'Shipping insurance toggle. Pass "-1" to leave unchanged, "1" to apply, empty string to remove.')]
     #[SerializedName('useShippingInsurance')]
     #[SerializedName('useShippingInsurance')]
     public ?string $useShippingInsurance = null;
     public ?string $useShippingInsurance = null;
+
+    #[Groups(['mutation'])]
     #[ApiProperty(description: 'Reward points to redeem against the order total. Pass "-1" to leave unchanged, "0" to remove.')]
     #[ApiProperty(description: 'Reward points to redeem against the order total. Pass "-1" to leave unchanged, "0" to remove.')]
     #[SerializedName('rewardPoints')]
     #[SerializedName('rewardPoints')]
     public ?int $rewardPoints = null;
     public ?int $rewardPoints = null;