Skip to content

Commit 64fac5d

Browse files
committed
build(codegen): updating SDK
1 parent 7b360bd commit 64fac5d

File tree

8 files changed

+26
-25
lines changed

8 files changed

+26
-25
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItem.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public interface CustomLineItem extends com.commercetools.api.models.Customizabl
128128
public Long getQuantity();
129129

130130
/**
131-
* <p>State of the Custom Line Item in the Cart or Order.</p>
131+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
132132
* @return state
133133
*/
134134
@NotNull
@@ -270,15 +270,15 @@ public interface CustomLineItem extends com.commercetools.api.models.Customizabl
270270
public void setQuantity(final Long quantity);
271271

272272
/**
273-
* <p>State of the Custom Line Item in the Cart or Order.</p>
273+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
274274
* @param state values to be set
275275
*/
276276

277277
@JsonIgnore
278278
public void setState(final ItemState... state);
279279

280280
/**
281-
* <p>State of the Custom Line Item in the Cart or Order.</p>
281+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
282282
* @param state values to be set
283283
*/
284284

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemBuilder.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ public CustomLineItemBuilder quantity(final Long quantity) {
342342
}
343343

344344
/**
345-
* <p>State of the Custom Line Item in the Cart or Order.</p>
345+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
346346
* @param state value to be set
347347
* @return Builder
348348
*/
@@ -353,7 +353,7 @@ public CustomLineItemBuilder state(final com.commercetools.api.models.order.Item
353353
}
354354

355355
/**
356-
* <p>State of the Custom Line Item in the Cart or Order.</p>
356+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
357357
* @param state value to be set
358358
* @return Builder
359359
*/
@@ -364,7 +364,7 @@ public CustomLineItemBuilder state(final java.util.List<com.commercetools.api.mo
364364
}
365365

366366
/**
367-
* <p>State of the Custom Line Item in the Cart or Order.</p>
367+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
368368
* @param state value to be set
369369
* @return Builder
370370
*/
@@ -378,7 +378,7 @@ public CustomLineItemBuilder plusState(final com.commercetools.api.models.order.
378378
}
379379

380380
/**
381-
* <p>State of the Custom Line Item in the Cart or Order.</p>
381+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
382382
* @param builder function to build the state value
383383
* @return Builder
384384
*/
@@ -393,7 +393,7 @@ public CustomLineItemBuilder plusState(
393393
}
394394

395395
/**
396-
* <p>State of the Custom Line Item in the Cart or Order.</p>
396+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
397397
* @param builder function to build the state value
398398
* @return Builder
399399
*/
@@ -406,7 +406,7 @@ public CustomLineItemBuilder withState(
406406
}
407407

408408
/**
409-
* <p>State of the Custom Line Item in the Cart or Order.</p>
409+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
410410
* @param builder function to build the state value
411411
* @return Builder
412412
*/
@@ -417,7 +417,7 @@ public CustomLineItemBuilder addState(
417417
}
418418

419419
/**
420-
* <p>State of the Custom Line Item in the Cart or Order.</p>
420+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
421421
* @param builder function to build the state value
422422
* @return Builder
423423
*/
@@ -857,7 +857,7 @@ public Long getQuantity() {
857857
}
858858

859859
/**
860-
* <p>State of the Custom Line Item in the Cart or Order.</p>
860+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
861861
* @return state
862862
*/
863863

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/CustomLineItemImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public Long getQuantity() {
174174
}
175175

176176
/**
177-
* <p>State of the Custom Line Item in the Cart or Order.</p>
177+
* <p>Tracks specific quantities of the Custom Line Item within a given State. When a Custom Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Custom Line Items are managed on the Order.</p>
178178
*/
179179

180180
public java.util.List<com.commercetools.api.models.order.ItemState> getState() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItem.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public interface LineItem extends com.commercetools.api.models.Customizable<Line
184184
public List<MethodTaxedPrice> getTaxedPricePortions();
185185

186186
/**
187-
* <p>State of the Line Item in the Cart or the Order.</p>
187+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
188188
* @return state
189189
*/
190190
@NotNull
@@ -408,15 +408,15 @@ public void setDiscountedPricePerQuantity(
408408
public void setTaxedPricePortions(final List<MethodTaxedPrice> taxedPricePortions);
409409

410410
/**
411-
* <p>State of the Line Item in the Cart or the Order.</p>
411+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
412412
* @param state values to be set
413413
*/
414414

415415
@JsonIgnore
416416
public void setState(final ItemState... state);
417417

418418
/**
419-
* <p>State of the Line Item in the Cart or the Order.</p>
419+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
420420
* @param state values to be set
421421
*/
422422

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemBuilder.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ public LineItemBuilder setTaxedPricePortions(
601601
}
602602

603603
/**
604-
* <p>State of the Line Item in the Cart or the Order.</p>
604+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
605605
* @param state value to be set
606606
* @return Builder
607607
*/
@@ -612,7 +612,7 @@ public LineItemBuilder state(final com.commercetools.api.models.order.ItemState.
612612
}
613613

614614
/**
615-
* <p>State of the Line Item in the Cart or the Order.</p>
615+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
616616
* @param state value to be set
617617
* @return Builder
618618
*/
@@ -623,7 +623,7 @@ public LineItemBuilder state(final java.util.List<com.commercetools.api.models.o
623623
}
624624

625625
/**
626-
* <p>State of the Line Item in the Cart or the Order.</p>
626+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
627627
* @param state value to be set
628628
* @return Builder
629629
*/
@@ -637,7 +637,7 @@ public LineItemBuilder plusState(final com.commercetools.api.models.order.ItemSt
637637
}
638638

639639
/**
640-
* <p>State of the Line Item in the Cart or the Order.</p>
640+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
641641
* @param builder function to build the state value
642642
* @return Builder
643643
*/
@@ -652,7 +652,7 @@ public LineItemBuilder plusState(
652652
}
653653

654654
/**
655-
* <p>State of the Line Item in the Cart or the Order.</p>
655+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
656656
* @param builder function to build the state value
657657
* @return Builder
658658
*/
@@ -665,7 +665,7 @@ public LineItemBuilder withState(
665665
}
666666

667667
/**
668-
* <p>State of the Line Item in the Cart or the Order.</p>
668+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
669669
* @param builder function to build the state value
670670
* @return Builder
671671
*/
@@ -676,7 +676,7 @@ public LineItemBuilder addState(
676676
}
677677

678678
/**
679-
* <p>State of the Line Item in the Cart or the Order.</p>
679+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
680680
* @param builder function to build the state value
681681
* @return Builder
682682
*/
@@ -1157,7 +1157,7 @@ public java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> getTax
11571157
}
11581158

11591159
/**
1160-
* <p>State of the Line Item in the Cart or the Order.</p>
1160+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
11611161
* @return state
11621162
*/
11631163

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/LineItemImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> getTax
257257
}
258258

259259
/**
260-
* <p>State of the Line Item in the Cart or the Order.</p>
260+
* <p>Tracks specific quantities of the Line Item within a given State. When a Line Item is added to a Cart, its full quantity is set to the built-in "Initial" state. State transitions for Line Items are managed on the Order.</p>
261261
*/
262262

263263
public java.util.List<com.commercetools.api.models.order.ItemState> getState() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/state/StateTypeEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public interface StateTypeEnum extends JsonEnum {
2020
<p>Used by Orders.</p> */
2121
StateTypeEnum ORDER_STATE = StateTypeEnumEnum.ORDER_STATE;
2222
/**
23-
<p>Used by LineItems and CustomLineItems in Carts and Orders.</p> */
23+
<p>Used by LineItems and CustomLineItems in Carts and Orders, with the <code>builtin</code> field always set to <code>true</code> by default. In addition, the <code>initial</code> field is set to <code>true</code> upon creation.</p> */
2424
StateTypeEnum LINE_ITEM_STATE = StateTypeEnumEnum.LINE_ITEM_STATE;
2525
/**
2626
<p>Used by Products.</p> */

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,3 +413,4 @@ ab2859c84d9f146e5d8556e905538b92af4aa044
413413
dd595db3882a9eef83a47515f013be37deae6bff
414414
10b807d404cfeba225736763251d8ba6d8b16db3
415415
fcc6480a0c34dde0eb5c0a44b1b166a4fdc212fc
416+
e68ca35e345e284ffc6281baa6fcfb56a3e93582

0 commit comments

Comments
 (0)