Skip to content

Commit ec25c01

Browse files
Merge pull request #281 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents bd81c83 + e9a7d23 commit ec25c01

File tree

49 files changed

+2626
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+2626
-29
lines changed

changes.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,30 @@
1616
- added method `$apiRoot->withProjectKey()->channels()->withKey()->delete()`
1717
</details>
1818

19+
20+
<details>
21+
<summary>Added Type(s)</summary>
22+
23+
- added type `CartDiscountPatternTarget`
24+
- added type `CountOnCustomLineItemUnits`
25+
- added type `CountOnLineItemUnits`
26+
- added type `PatternComponent`
27+
</details>
28+
29+
30+
<details>
31+
<summary>Added Property(s)</summary>
32+
33+
- added property `applicationMode` to type `CartDiscountValueFixed`
34+
- added property `applicationMode` to type `CartDiscountValueFixedDraft`
35+
</details>
36+
37+
**History changes**
38+
39+
<details>
40+
<summary>Added Type(s)</summary>
41+
42+
- added type `ChangeTargetPatternChangeValue`
43+
- added type `PatternComponent`
44+
</details>
45+

lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemAction.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ public function getCustom();
105105

106106
/**
107107
* <ul>
108-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
109-
* are applied to the Custom Line Item.</li>
108+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
110109
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
111110
* </ul>
112111
*

lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ public function getCustom()
192192

193193
/**
194194
* <ul>
195-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
196-
* are applied to the Custom Line Item.</li>
195+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
197196
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
198197
* </ul>
199198
*

lib/commercetools-api/src/Models/Cart/CartAddCustomLineItemActionModel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,8 +333,7 @@ public function getCustom()
333333

334334
/**
335335
* <ul>
336-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
337-
* are applied to the Custom Line Item.</li>
336+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
338337
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
339338
* </ul>
340339
*

lib/commercetools-api/src/Models/Cart/CustomLineItem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public function getCustom();
175175
public function getShippingDetails();
176176

177177
/**
178-
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a> are applied to the Custom Line Item.</p>
178+
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</p>
179179
*
180180
181181
* @return null|string

lib/commercetools-api/src/Models/Cart/CustomLineItemBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ public function getShippingDetails()
320320
}
321321

322322
/**
323-
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a> are applied to the Custom Line Item.</p>
323+
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</p>
324324
*
325325
326326
* @return null|string

lib/commercetools-api/src/Models/Cart/CustomLineItemDraft.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ public function getShippingDetails();
105105

106106
/**
107107
* <ul>
108-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
109-
* are applied to the Custom Line Item.</li>
108+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
110109
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
111110
* </ul>
112111
*

lib/commercetools-api/src/Models/Cart/CustomLineItemDraftBuilder.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,7 @@ public function getShippingDetails()
192192

193193
/**
194194
* <ul>
195-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
196-
* are applied to the Custom Line Item.</li>
195+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
197196
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
198197
* </ul>
199198
*

lib/commercetools-api/src/Models/Cart/CustomLineItemDraftModel.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -306,8 +306,7 @@ public function getShippingDetails()
306306

307307
/**
308308
* <ul>
309-
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>
310-
* are applied to the Custom Line Item.</li>
309+
* <li>If <code>Standard</code>, Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</li>
311310
* <li>If <code>External</code>, Cart Discounts are not considered on the Custom Line Item.</li>
312311
* </ul>
313312
*

lib/commercetools-api/src/Models/Cart/CustomLineItemModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ public function getShippingDetails()
513513
}
514514

515515
/**
516-
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a> are applied to the Custom Line Item.</p>
516+
* <p>Indicates whether Cart Discounts with a matching <a href="ctp:api:type:CartDiscountCustomLineItemsTarget">CartDiscountCustomLineItemsTarget</a>, <a href="ctp:api:type:MultiBuyCustomLineItemsTarget">MultiBuyCustomLineItemsTarget</a>, or <a href="ctp:api:type:CartDiscountPatternTarget">CartDiscountPatternTarget</a> are applied to the Custom Line Item.</p>
517517
*
518518
*
519519
* @return null|string

0 commit comments

Comments
 (0)