Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Mar 6, 2025
1 parent 36b9afe commit 45d5732
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 16 deletions.
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
</details>


<details>
<summary>MarkDeprecated Property(s)</summary>

- marked property `CountOnCustomLineItemUnits::excludeCount` as deprecated
- marked property `CountOnLineItemUnits::excludeCount` as deprecated
</details>


<details>
<summary>Added Type(s)</summary>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ interface CartDiscountPatternTarget extends CartDiscountTarget
/**
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied.
* To further limit the discount application, set the <code>maxOccurrence</code>.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
* The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
*
* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ final class CartDiscountPatternTargetBuilder implements Builder
/**
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied.
* To further limit the discount application, set the <code>maxOccurrence</code>.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
* The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
*
* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ public function getType()
/**
* <p>Defines the set of units of (Custom) Line Items in a Cart that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, limiting the number of maximum times the discount will be applied.
* To further limit the discount application, set the <code>maxOccurrence</code>.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
* The units matched in the <code>triggerPattern</code> are excluded and not considered for the <code>targetPattern</code>.</p>
* <p>To further limit the discount application, set the <code>maxOccurrence</code>.</p>
*
*
* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getMaxCount();
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
* @deprecated
* @return null|int
*/
public function getExcludeCount();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class CountOnCustomLineItemUnitsBuilder implements Builder
private $maxCount;

/**
* @deprecated
* @var ?int
*/
private $excludeCount;
Expand Down Expand Up @@ -87,7 +87,7 @@ public function getMaxCount()
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
* @deprecated
* @return null|int
*/
public function getExcludeCount()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ final class CountOnCustomLineItemUnitsModel extends JsonObjectModel implements C
protected $maxCount;

/**
*
* @deprecated
* @var ?int
*/
protected $excludeCount;
Expand Down Expand Up @@ -156,7 +156,7 @@ public function getMaxCount()
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
*
* @deprecated
* @return null|int
*/
public function getExcludeCount()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function getMaxCount();
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
* @deprecated
* @return null|int
*/
public function getExcludeCount();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ final class CountOnLineItemUnitsBuilder implements Builder
private $maxCount;

/**
* @deprecated
* @var ?int
*/
private $excludeCount;
Expand Down Expand Up @@ -87,7 +87,7 @@ public function getMaxCount()
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
* @deprecated
* @return null|int
*/
public function getExcludeCount()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ final class CountOnLineItemUnitsModel extends JsonObjectModel implements CountOn
protected $maxCount;

/**
*
* @deprecated
* @var ?int
*/
protected $excludeCount;
Expand Down Expand Up @@ -156,7 +156,7 @@ public function getMaxCount()
* The <code>minCount</code>and <code>maxCount</code> are considered only after the exclusion. Pattern components are matched only if any further units satisfying the pattern component exist.
* For example, if 5 jeans are required but only 3 should be discounted, the <code>excludeCount</code> value must be 2.</p>
*
*
* @deprecated
* @return null|int
*/
public function getExcludeCount()
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -369,3 +369,4 @@ cf0f702598daf6d644ae327099b96b83f5539dfb
57765b01c9c28f44cc3d539d1bff7f85fda938bb
bc499c5a4815716efc119199dd274dc72f538a36
be04b8a13c612b3eed8290dd00b81c2ebe16e5ed
77fcf46413ef8bb5133eb0907f42cba037c54c61

0 comments on commit 45d5732

Please sign in to comment.