Skip to content

Commit a98e0b1

Browse files
Merge pull request #963 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 8ff13ef + beb88b6 commit a98e0b1

File tree

59 files changed

+142
-21
lines changed

Some content is hidden

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

59 files changed

+142
-21
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ public interface CartAddCustomLineItemAction
5050

5151
/**
5252
* <p>Money value of the Custom Line Item. The value can be negative.</p>
53+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
5354
* @return money
5455
*/
5556
@NotNull
@@ -144,6 +145,7 @@ public interface CartAddCustomLineItemAction
144145

145146
/**
146147
* <p>Money value of the Custom Line Item. The value can be negative.</p>
148+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
147149
* @param money value to be set
148150
*/
149151

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ public class CartAddCustomLineItemActionBuilder implements Builder<CartAddCustom
5858

5959
/**
6060
* <p>Money value of the Custom Line Item. The value can be negative.</p>
61+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
6162
* @param builder function to build the money value
6263
* @return Builder
6364
*/
@@ -70,6 +71,7 @@ public CartAddCustomLineItemActionBuilder money(
7071

7172
/**
7273
* <p>Money value of the Custom Line Item. The value can be negative.</p>
74+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
7375
* @param builder function to build the money value
7476
* @return Builder
7577
*/
@@ -82,6 +84,7 @@ public CartAddCustomLineItemActionBuilder withMoney(
8284

8385
/**
8486
* <p>Money value of the Custom Line Item. The value can be negative.</p>
87+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
8588
* @param money value to be set
8689
* @return Builder
8790
*/
@@ -367,6 +370,7 @@ public CartAddCustomLineItemActionBuilder recurrenceInfo(
367370

368371
/**
369372
* <p>Money value of the Custom Line Item. The value can be negative.</p>
373+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
370374
* @return money
371375
*/
372376

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public String getAction() {
9393

9494
/**
9595
* <p>Money value of the Custom Line Item. The value can be negative.</p>
96+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
9697
*/
9798

9899
public com.commercetools.api.models.common.Money getMoney() {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public interface CartAddLineItemAction
116116

117117
/**
118118
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
119+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
119120
* @return externalPrice
120121
*/
121122
@Valid
@@ -240,6 +241,7 @@ public interface CartAddLineItemAction
240241

241242
/**
242243
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
244+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
243245
* @param externalPrice value to be set
244246
*/
245247

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ public CartAddLineItemActionBuilder supplyChannel(
219219

220220
/**
221221
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
222+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
222223
* @param builder function to build the externalPrice value
223224
* @return Builder
224225
*/
@@ -231,6 +232,7 @@ public CartAddLineItemActionBuilder externalPrice(
231232

232233
/**
233234
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
235+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
234236
* @param builder function to build the externalPrice value
235237
* @return Builder
236238
*/
@@ -243,6 +245,7 @@ public CartAddLineItemActionBuilder withExternalPrice(
243245

244246
/**
245247
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
248+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
246249
* @param externalPrice value to be set
247250
* @return Builder
248251
*/
@@ -632,6 +635,7 @@ public com.commercetools.api.models.channel.ChannelResourceIdentifier getSupplyC
632635

633636
/**
634637
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
638+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
635639
* @return externalPrice
636640
*/
637641

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ public com.commercetools.api.models.channel.ChannelResourceIdentifier getSupplyC
181181

182182
/**
183183
* <p>Sets the LineItem <code>price</code> value, and the <code>priceMode</code> to <code>ExternalPrice</code> LineItemPriceMode.</p>
184+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
184185
*/
185186

186187
public com.commercetools.api.models.common.Money getExternalPrice() {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public interface CartChangeCustomLineItemMoneyAction extends CartUpdateAction {
5757

5858
/**
5959
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
60+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
6061
* @return money
6162
*/
6263
@NotNull
@@ -80,6 +81,7 @@ public interface CartChangeCustomLineItemMoneyAction extends CartUpdateAction {
8081

8182
/**
8283
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
84+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
8385
* @param money value to be set
8486
*/
8587

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public CartChangeCustomLineItemMoneyActionBuilder customLineItemKey(@Nullable fi
5656

5757
/**
5858
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
59+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
5960
* @param builder function to build the money value
6061
* @return Builder
6162
*/
@@ -68,6 +69,7 @@ public CartChangeCustomLineItemMoneyActionBuilder money(
6869

6970
/**
7071
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
72+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
7173
* @param builder function to build the money value
7274
* @return Builder
7375
*/
@@ -80,6 +82,7 @@ public CartChangeCustomLineItemMoneyActionBuilder withMoney(
8082

8183
/**
8284
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
85+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
8386
* @param money value to be set
8487
* @return Builder
8588
*/
@@ -111,6 +114,7 @@ public String getCustomLineItemKey() {
111114

112115
/**
113116
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
117+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
114118
* @return money
115119
*/
116120

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public String getCustomLineItemKey() {
7676

7777
/**
7878
* <p>Value to set. Must not be empty. Can be a negative amount.</p>
79+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
7980
*/
8081

8182
public com.commercetools.api.models.common.Money getMoney() {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {
7070
/**
7171
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
7272
* <p>The LineItem price is updated as described in Line Item price selection.</p>
73+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
7374
* @return externalPrice
7475
*/
7576
@Valid
@@ -109,6 +110,7 @@ public interface CartChangeLineItemQuantityAction extends CartUpdateAction {
109110
/**
110111
* <p>Required when the Line Item uses <code>ExternalPrice</code> LineItemPriceMode. Sets the LineItem <code>price</code> to the given value when changing the quantity of a Line Item.</p>
111112
* <p>The LineItem price is updated as described in Line Item price selection.</p>
113+
* <p>To set the money value in high precision, use HighPrecisionMoneyDraft.</p>
112114
* @param externalPrice value to be set
113115
*/
114116

0 commit comments

Comments
 (0)