Skip to content

Commit 9ed9863

Browse files
committed
build(codegen): updating SDK
1 parent 9a589c6 commit 9ed9863

10 files changed

+31
-10
lines changed

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

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

9999
/**
100100
* <p>Number of times the DiscountCode can be applied.</p>
101+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
101102
* @return maxApplications
102103
*/
103104

@@ -106,6 +107,7 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
106107

107108
/**
108109
* <p>Number of times the DiscountCode can be applied per Customer.</p>
110+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
109111
* @return maxApplicationsPerCustomer
110112
*/
111113

@@ -203,13 +205,15 @@ public interface DiscountCodeDraft extends com.commercetools.api.models.Customiz
203205

204206
/**
205207
* <p>Number of times the DiscountCode can be applied.</p>
208+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
206209
* @param maxApplications value to be set
207210
*/
208211

209212
public void setMaxApplications(final Long maxApplications);
210213

211214
/**
212215
* <p>Number of times the DiscountCode can be applied per Customer.</p>
216+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
213217
* @param maxApplicationsPerCustomer value to be set
214218
*/
215219

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

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

275275
/**
276276
* <p>Number of times the DiscountCode can be applied.</p>
277+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
277278
* @param maxApplications value to be set
278279
* @return Builder
279280
*/
@@ -285,6 +286,7 @@ public DiscountCodeDraftBuilder maxApplications(@Nullable final Long maxApplicat
285286

286287
/**
287288
* <p>Number of times the DiscountCode can be applied per Customer.</p>
289+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
288290
* @param maxApplicationsPerCustomer value to be set
289291
* @return Builder
290292
*/
@@ -457,6 +459,7 @@ public Boolean getIsActive() {
457459

458460
/**
459461
* <p>Number of times the DiscountCode can be applied.</p>
462+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
460463
* @return maxApplications
461464
*/
462465

@@ -467,6 +470,7 @@ public Long getMaxApplications() {
467470

468471
/**
469472
* <p>Number of times the DiscountCode can be applied per Customer.</p>
473+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
470474
* @return maxApplicationsPerCustomer
471475
*/
472476

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ public Boolean getIsActive() {
143143

144144
/**
145145
* <p>Number of times the DiscountCode can be applied.</p>
146+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
146147
*/
147148

148149
public Long getMaxApplications() {
@@ -151,6 +152,7 @@ public Long getMaxApplications() {
151152

152153
/**
153154
* <p>Number of times the DiscountCode can be applied per Customer.</p>
155+
* <p>If not set, the DiscountCode can be applied any number of times.</p>
154156
*/
155157

156158
public Long getMaxApplicationsPerCustomer() {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ public interface DiscountCodeSetMaxApplicationsAction extends DiscountCodeUpdate
3434
String SET_MAX_APPLICATIONS = "setMaxApplications";
3535

3636
/**
37-
* <p>Value to set. If empty, any existing value will be removed.</p>
37+
* <p>Value to set.</p>
38+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
3839
* @return maxApplications
3940
*/
4041

4142
@JsonProperty("maxApplications")
4243
public Long getMaxApplications();
4344

4445
/**
45-
* <p>Value to set. If empty, any existing value will be removed.</p>
46+
* <p>Value to set.</p>
47+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
4648
* @param maxApplications value to be set
4749
*/
4850

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public class DiscountCodeSetMaxApplicationsActionBuilder implements Builder<Disc
2626
private Long maxApplications;
2727

2828
/**
29-
* <p>Value to set. If empty, any existing value will be removed.</p>
29+
* <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>
3031
* @param maxApplications value to be set
3132
* @return Builder
3233
*/
@@ -37,7 +38,8 @@ public DiscountCodeSetMaxApplicationsActionBuilder maxApplications(@Nullable fin
3738
}
3839

3940
/**
40-
* <p>Value to set. If empty, any existing value will be removed.</p>
41+
* <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>
4143
* @return maxApplications
4244
*/
4345

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public String getAction() {
5151
}
5252

5353
/**
54-
* <p>Value to set. If empty, any existing value will be removed.</p>
54+
* <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>
5556
*/
5657

5758
public Long getMaxApplications() {

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,17 @@ public interface DiscountCodeSetMaxApplicationsPerCustomerAction extends Discoun
3434
String SET_MAX_APPLICATIONS_PER_CUSTOMER = "setMaxApplicationsPerCustomer";
3535

3636
/**
37-
* <p>Value to set. If empty, any existing value will be removed.</p>
37+
* <p>Value to set.</p>
38+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
3839
* @return maxApplicationsPerCustomer
3940
*/
4041

4142
@JsonProperty("maxApplicationsPerCustomer")
4243
public Long getMaxApplicationsPerCustomer();
4344

4445
/**
45-
* <p>Value to set. If empty, any existing value will be removed.</p>
46+
* <p>Value to set.</p>
47+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
4648
* @param maxApplicationsPerCustomer value to be set
4749
*/
4850

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ public class DiscountCodeSetMaxApplicationsPerCustomerActionBuilder
2727
private Long maxApplicationsPerCustomer;
2828

2929
/**
30-
* <p>Value to set. If empty, any existing value will be removed.</p>
30+
* <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>
3132
* @param maxApplicationsPerCustomer value to be set
3233
* @return Builder
3334
*/
@@ -39,7 +40,8 @@ public DiscountCodeSetMaxApplicationsPerCustomerActionBuilder maxApplicationsPer
3940
}
4041

4142
/**
42-
* <p>Value to set. If empty, any existing value will be removed.</p>
43+
* <p>Value to set.</p>
44+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
4345
* @return maxApplicationsPerCustomer
4446
*/
4547

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ public String getAction() {
5353
}
5454

5555
/**
56-
* <p>Value to set. If empty, any existing value will be removed.</p>
56+
* <p>Value to set.</p>
57+
* <p>If empty, any existing value will be removed and the DiscountCode can be applied any number of times.</p>
5758
*/
5859

5960
public Long getMaxApplicationsPerCustomer() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,3 +268,4 @@ e5268785dcaf7bd56dafa13f2901b69468552fd0
268268
28ca8abbefd999fa19fc31d729cb711cd3341a23
269269
f406baef04eced1a7bda3817e935f54e234a9f4e
270270
c163df6435d9b4770f1d07cd2cb379c1f620ceb5
271+
12d3fba1b3f1f281cc37eaa04513df858393ab39

0 commit comments

Comments
 (0)