Skip to content

Commit e1daff5

Browse files
Merge pull request #1037 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents df5def9 + 13306e9 commit e1daff5

13 files changed

Lines changed: 31 additions & 30 deletions

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCode.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,15 +168,15 @@ public interface DiscountCode
168168
public List<Reference> getReferences();
169169

170170
/**
171-
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
171+
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
172172
* @return maxApplications
173173
*/
174174

175175
@JsonProperty("maxApplications")
176176
public Long getMaxApplications();
177177

178178
/**
179-
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
179+
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
180180
* @return maxApplicationsPerCustomer
181181
*/
182182

@@ -338,14 +338,14 @@ public interface DiscountCode
338338
public void setReferences(final List<Reference> references);
339339

340340
/**
341-
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
341+
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
342342
* @param maxApplications value to be set
343343
*/
344344

345345
public void setMaxApplications(final Long maxApplications);
346346

347347
/**
348-
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
348+
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
349349
* @param maxApplicationsPerCustomer value to be set
350350
*/
351351

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ public DiscountCodeBuilder withReferences(
475475
}
476476

477477
/**
478-
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
478+
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
479479
* @param maxApplications value to be set
480480
* @return Builder
481481
*/
@@ -486,7 +486,7 @@ public DiscountCodeBuilder maxApplications(@Nullable final Long maxApplications)
486486
}
487487

488488
/**
489-
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
489+
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
490490
* @param maxApplicationsPerCustomer value to be set
491491
* @return Builder
492492
*/
@@ -733,7 +733,7 @@ public java.util.List<com.commercetools.api.models.common.Reference> getReferenc
733733
}
734734

735735
/**
736-
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
736+
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
737737
* @return maxApplications
738738
*/
739739

@@ -743,7 +743,7 @@ public Long getMaxApplications() {
743743
}
744744

745745
/**
746-
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
746+
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
747747
* @return maxApplicationsPerCustomer
748748
*/
749749

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraft.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
9999

100100
/**
101101
* <p>Number of times the DiscountCode can be applied.</p>
102-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
102+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
103103
* @return maxApplications
104104
*/
105105

@@ -108,7 +108,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
108108

109109
/**
110110
* <p>Number of times the DiscountCode can be applied per Customer.</p>
111-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
111+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
112112
* @return maxApplicationsPerCustomer
113113
*/
114114

@@ -207,15 +207,15 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
207207

208208
/**
209209
* <p>Number of times the DiscountCode can be applied.</p>
210-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
210+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
211211
* @param maxApplications value to be set
212212
*/
213213

214214
public void setMaxApplications(final Long maxApplications);
215215

216216
/**
217217
* <p>Number of times the DiscountCode can be applied per Customer.</p>
218-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
218+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
219219
* @param maxApplicationsPerCustomer value to be set
220220
*/
221221

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ public DiscountCodeDraftBuilder isActive(@Nullable final Boolean isActive) {
275275

276276
/**
277277
* <p>Number of times the DiscountCode can be applied.</p>
278-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
278+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
279279
* @param maxApplications value to be set
280280
* @return Builder
281281
*/
@@ -287,7 +287,7 @@ public DiscountCodeDraftBuilder maxApplications(@Nullable final Long maxApplicat
287287

288288
/**
289289
* <p>Number of times the DiscountCode can be applied per Customer.</p>
290-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
290+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
291291
* @param maxApplicationsPerCustomer value to be set
292292
* @return Builder
293293
*/
@@ -461,7 +461,7 @@ public Boolean getIsActive() {
461461

462462
/**
463463
* <p>Number of times the DiscountCode can be applied.</p>
464-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
464+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
465465
* @return maxApplications
466466
*/
467467

@@ -472,7 +472,7 @@ public Long getMaxApplications() {
472472

473473
/**
474474
* <p>Number of times the DiscountCode can be applied per Customer.</p>
475-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
475+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
476476
* @return maxApplicationsPerCustomer
477477
*/
478478

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeDraftImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public Boolean getIsActive() {
144144

145145
/**
146146
* <p>Number of times the DiscountCode can be applied.</p>
147-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
147+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
148148
*/
149149

150150
public Long getMaxApplications() {
@@ -153,7 +153,7 @@ public Long getMaxApplications() {
153153

154154
/**
155155
* <p>Number of times the DiscountCode can be applied per Customer.</p>
156-
* <p>If not set, the DiscountCode can be applied any number of times.</p>
156+
* <p>If not set, the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
157157
*/
158158

159159
public Long getMaxApplicationsPerCustomer() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,15 +229,15 @@ public java.util.List<com.commercetools.api.models.common.Reference> getReferenc
229229
}
230230

231231
/**
232-
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
232+
* <p>Number of times the DiscountCode can be applied. DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
233233
*/
234234

235235
public Long getMaxApplications() {
236236
return this.maxApplications;
237237
}
238238

239239
/**
240-
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count.</p>
240+
* <p>Number of times the DiscountCode can be applied per Customer (anonymous Carts are not supported). DiscountCode application is counted at the time of Order creation or edit. However, Order cancellation or deletion does not decrement the count. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
241241
*/
242242

243243
public Long getMaxApplicationsPerCustomer() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate
3636

3737
/**
3838
* <p>Value to set.</p>
39-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
39+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
4040
* @return maxApplications
4141
*/
4242

@@ -45,7 +45,7 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate
4545

4646
/**
4747
* <p>Value to set.</p>
48-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
48+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
4949
* @param maxApplications value to be set
5050
*/
5151

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public class DiscountCodeSetMaxApplicationsActionBuilder implements Builder<Disc
2727

2828
/**
2929
* <p>Value to set.</p>
30-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
30+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
3131
* @param maxApplications value to be set
3232
* @return Builder
3333
*/
@@ -39,7 +39,7 @@ public DiscountCodeSetMaxApplicationsActionBuilder maxApplications(@Nullable fin
3939

4040
/**
4141
* <p>Value to set.</p>
42-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
42+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
4343
* @return maxApplications
4444
*/
4545

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsActionImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public String getAction() {
5252

5353
/**
5454
* <p>Value to set.</p>
55-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
55+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
5656
*/
5757

5858
public Long getMaxApplications() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/discount_code/DiscountCodeSetMaxApplicationsPerCustomerAction.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun
3636

3737
/**
3838
* <p>Value to set.</p>
39-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
39+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
4040
* @return maxApplicationsPerCustomer
4141
*/
4242

@@ -45,7 +45,7 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun
4545

4646
/**
4747
* <p>Value to set.</p>
48-
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
48+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times. This field does not limit discount applications for Orders created from a <a href="https://docs.commercetools.com/apis/ctp:api:type:RecurringOrder" rel="nofollow">Recurring Order</a>.</p>
4949
* @param maxApplicationsPerCustomer value to be set
5050
*/
5151

0 commit comments

Comments
 (0)