Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,22 @@
</details>


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

- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
</details>


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

- added property `inheritedStores` to type `BusinessUnit`
- added property `inheritedStores` to type `Company`
- added property `inheritedStores` to type `Division`
</details>


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

Expand All @@ -25,21 +41,19 @@
- added method `$apiRoot->withProjectKey()->inStoreKeyWithStoreKeyValue()->businessUnits()->withId()->delete()`
</details>

**History changes**

<details>
<summary>Added Property(s)</summary>
<summary>Changed Property(s)</summary>

- added property `inheritedStores` to type `BusinessUnit`
- added property `inheritedStores` to type `Company`
- added property `inheritedStores` to type `Division`
- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object`
</details>

**History changes**

<details>
<summary>Changed Property(s)</summary>
<summary>Required Property(s)</summary>

- :warning: changed property `extensions` of type `GraphQLError` from type `GraphQLErrorObject` to `object`
- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
</details>


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,20 @@ interface CartDiscountPatternTarget extends CartDiscountTarget
public const FIELD_SELECTION_MODE = 'selectionMode';

/**
* <p>Units of a (Custom) Line Item that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, effecting the number of times the discount will be applied.
* <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 or not set, the Discount will apply indefinitely.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
*

* @return null|PatternComponentCollection
*/
public function getTriggerPattern();

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
*

* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,10 @@ final class CartDiscountPatternTargetBuilder implements Builder
private $selectionMode;

/**
* <p>Units of a (Custom) Line Item that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, effecting the number of times the discount will be applied.
* <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 or not set, the Discount will apply indefinitely.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
*

* @return null|PatternComponentCollection
Expand All @@ -59,8 +59,9 @@ public function getTriggerPattern()
}

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
*

* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ public function getType()
}

/**
* <p>Units of a (Custom) Line Item that trigger a discount application.</p>
* <p>Based on the availability of matching units, the <code>triggerPattern</code> can match multiple times, effecting the number of times the discount will be applied.
* <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 or not set, the Discount will apply indefinitely.</p>
* <p>If empty, the Discount will apply indefinitely.</p>
*
*
* @return null|PatternComponentCollection
Expand All @@ -110,8 +110,9 @@ public function getTriggerPattern()
}

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
* <p>Based on the availability of matching units and the limits from the <code>triggerPattern</code> or <code>maxOccurence</code>, the <code>targetPattern</code> can match multiple times.</p>
* <p>This array cannot be empty.</p>
*
*
* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ interface ChangeTargetPatternChangeValue extends ChangeTargetChangeValue
public function getType();

/**
* <p>Units of a (Custom) Line Item that triggered the discount application.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart that triggered the discount application.</p>
*

* @return null|PatternComponentCollection
*/
public function getTriggerPattern();

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
*

* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ final class ChangeTargetPatternChangeValueBuilder implements Builder
private $selectionMode;

/**
* <p>Units of a (Custom) Line Item that triggered the discount application.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart that triggered the discount application.</p>
*

* @return null|PatternComponentCollection
Expand All @@ -57,7 +57,7 @@ public function getTriggerPattern()
}

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
*

* @return null|PatternComponentCollection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function getType()
}

/**
* <p>Units of a (Custom) Line Item that triggered the discount application.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart that triggered the discount application.</p>
*
*
* @return null|PatternComponentCollection
Expand All @@ -109,7 +109,7 @@ public function getTriggerPattern()
}

/**
* <p>Units of (Custom) Line Items on which the Discount is applied.</p>
* <p>Defines the set of units of (Custom) Line Items in a Cart on which the Discount is applied.</p>
*
*
* @return null|PatternComponentCollection
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -347,3 +347,4 @@ e8f731a742ca2997342b1b5f98121d86c8189a3b
b7b82f5a701908239fcf39781bcbfa80823c9fa0
cc1732f88ea3dc336358ff9f39cda9d5271cf7c2
e3d5bc9cb69146c5d1dd755ed5e8cf2f54566b3a
591d5eaefd1d56fd350895ccea401cb42f2f0ee8
Loading