Skip to content

Commit 2cf3be6

Browse files
committed
build(codegen): updating SDK
1 parent 1720eec commit 2cf3be6

13 files changed

Lines changed: 37 additions & 18 deletions

lib/commercetools-api/src/Models/DiscountCode/DiscountCode.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@ public function getReferences();
154154

155155
/**
156156
* <p>Number of times the DiscountCode can be applied.
157-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
157+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
158+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
158159
*
159160
160161
* @return null|int
@@ -163,7 +164,8 @@ public function getMaxApplications();
163164

164165
/**
165166
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported).
166-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
167+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
168+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
167169
*
168170
169171
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeBuilder.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,8 @@ public function getReferences()
316316

317317
/**
318318
* <p>Number of times the DiscountCode can be applied.
319-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
319+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
320+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
320321
*
321322
322323
* @return null|int
@@ -328,7 +329,8 @@ public function getMaxApplications()
328329

329330
/**
330331
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported).
331-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
332+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
333+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
332334
*
333335
334336
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeDraft.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,8 @@ public function getIsActive();
9191

9292
/**
9393
* <p>Number of times the DiscountCode can be applied.</p>
94-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
94+
* <p>If not set, the DiscountCode can be applied any number of times.
95+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
9596
*
9697
9798
* @return null|int
@@ -100,7 +101,8 @@ public function getMaxApplications();
100101

101102
/**
102103
* <p>Number of times the DiscountCode can be applied per Customer.</p>
103-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
104+
* <p>If not set, the DiscountCode can be applied any number of times.
105+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
104106
*
105107
106108
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeDraftBuilder.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ public function getIsActive()
185185

186186
/**
187187
* <p>Number of times the DiscountCode can be applied.</p>
188-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
188+
* <p>If not set, the DiscountCode can be applied any number of times.
189+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
189190
*
190191
191192
* @return null|int
@@ -197,7 +198,8 @@ public function getMaxApplications()
197198

198199
/**
199200
* <p>Number of times the DiscountCode can be applied per Customer.</p>
200-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
201+
* <p>If not set, the DiscountCode can be applied any number of times.
202+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
201203
*
202204
203205
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeDraftModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,8 @@ public function getIsActive()
283283

284284
/**
285285
* <p>Number of times the DiscountCode can be applied.</p>
286-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
286+
* <p>If not set, the DiscountCode can be applied any number of times.
287+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
287288
*
288289
*
289290
* @return null|int
@@ -304,7 +305,8 @@ public function getMaxApplications()
304305

305306
/**
306307
* <p>Number of times the DiscountCode can be applied per Customer.</p>
307-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
308+
* <p>If not set, the DiscountCode can be applied any number of times.
309+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
308310
*
309311
*
310312
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeModel.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,8 @@ public function getReferences()
503503

504504
/**
505505
* <p>Number of times the DiscountCode can be applied.
506-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
506+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
507+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
507508
*
508509
*
509510
* @return null|int
@@ -524,7 +525,8 @@ public function getMaxApplications()
524525

525526
/**
526527
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported).
527-
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
528+
* DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.
529+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
528530
*
529531
*
530532
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeSetMaxApplicationsAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdateAction
1717

1818
/**
1919
* <p>Value to set.</p>
20-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
20+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
21+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
2122
*
2223
2324
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeSetMaxApplicationsActionBuilder.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ final class DiscountCodeSetMaxApplicationsActionBuilder implements Builder
2828

2929
/**
3030
* <p>Value to set.</p>
31-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
31+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
32+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
3233
*
3334
3435
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeSetMaxApplicationsActionModel.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ public function getAction()
6464

6565
/**
6666
* <p>Value to set.</p>
67-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
67+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
68+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
6869
*
6970
*
7071
* @return null|int

lib/commercetools-api/src/Models/DiscountCode/DiscountCodeSetMaxApplicationsPerCustomerAction.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ interface DiscountCodeSetMaxApplicationsPerCustomerAction extends DiscountCodeUp
1717

1818
/**
1919
* <p>Value to set.</p>
20-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
20+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.
21+
* This field does not limit discount applications for Orders created from a <a href="ctp:api:type:RecurringOrder">Recurring Order</a>.</p>
2122
*
2223
2324
* @return null|int

0 commit comments

Comments
 (0)