Skip to content

Commit b3dcb01

Browse files
committed
build(codegen): updating SDK
1 parent debc417 commit b3dcb01

14 files changed

+23
-4
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ public class CentPrecisionMoneyBuilder implements Builder<CentPrecisionMoney> {
3535
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
3636
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
3737
* </ul>
38+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
3839
* @param centAmount value to be set
3940
* @return Builder
4041
*/
@@ -72,6 +73,7 @@ public CentPrecisionMoneyBuilder fractionDigits(final Integer fractionDigits) {
7273
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
7374
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
7475
* </ul>
76+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
7577
* @return centAmount
7678
*/
7779

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/CentPrecisionMoneyImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public CentPrecisionMoneyImpl() {
5656
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
5757
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
5858
* </ul>
59+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
5960
*/
6061

6162
public Long getCentAmount() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public class HighPrecisionMoneyBuilder implements Builder<HighPrecisionMoney> {
3838
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
3939
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
4040
* </ul>
41+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
4142
* @param centAmount value to be set
4243
* @return Builder
4344
*/
@@ -86,6 +87,7 @@ public HighPrecisionMoneyBuilder preciseAmount(final Long preciseAmount) {
8687
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
8788
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
8889
* </ul>
90+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
8991
* @return centAmount
9092
*/
9193

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraft.java

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

5151
/**
5252
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
53+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
5354
* @return preciseAmount
5455
*/
5556
@NotNull
@@ -59,6 +60,7 @@ public interface HighPrecisionMoneyDraft
5960
/**
6061
* <p>Amount in the smallest indivisible unit of a currency. This field is optional for high precision. If provided, it is checked for validity. Example:</p>
6162
* <p>A Price of 1.015 USD can be rounded either to 1.01 USD or 1.02 USD. If it lies outside of this range, an error message stating that centAmount must be rounded correctly will be returned.</p>
63+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
6264
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
6365
* @return centAmount
6466
*/
@@ -75,6 +77,7 @@ public interface HighPrecisionMoneyDraft
7577

7678
/**
7779
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
80+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
7881
* @param preciseAmount value to be set
7982
*/
8083

@@ -83,6 +86,7 @@ public interface HighPrecisionMoneyDraft
8386
/**
8487
* <p>Amount in the smallest indivisible unit of a currency. This field is optional for high precision. If provided, it is checked for validity. Example:</p>
8588
* <p>A Price of 1.015 USD can be rounded either to 1.01 USD or 1.02 USD. If it lies outside of this range, an error message stating that centAmount must be rounded correctly will be returned.</p>
89+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
8690
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
8791
* @param centAmount value to be set
8892
*/

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftBuilder.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ public class HighPrecisionMoneyDraftBuilder implements Builder<HighPrecisionMone
3737
/**
3838
* <p>Amount in the smallest indivisible unit of a currency. This field is optional for high precision. If provided, it is checked for validity. Example:</p>
3939
* <p>A Price of 1.015 USD can be rounded either to 1.01 USD or 1.02 USD. If it lies outside of this range, an error message stating that centAmount must be rounded correctly will be returned.</p>
40+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
4041
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
4142
* @param centAmount value to be set
4243
* @return Builder
@@ -71,6 +72,7 @@ public HighPrecisionMoneyDraftBuilder fractionDigits(final Integer fractionDigit
7172

7273
/**
7374
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
75+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
7476
* @param preciseAmount value to be set
7577
* @return Builder
7678
*/
@@ -83,6 +85,7 @@ public HighPrecisionMoneyDraftBuilder preciseAmount(final Long preciseAmount) {
8385
/**
8486
* <p>Amount in the smallest indivisible unit of a currency. This field is optional for high precision. If provided, it is checked for validity. Example:</p>
8587
* <p>A Price of 1.015 USD can be rounded either to 1.01 USD or 1.02 USD. If it lies outside of this range, an error message stating that centAmount must be rounded correctly will be returned.</p>
88+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
8689
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
8790
* @return centAmount
8891
*/
@@ -112,6 +115,7 @@ public Integer getFractionDigits() {
112115

113116
/**
114117
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
118+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
115119
* @return preciseAmount
116120
*/
117121

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyDraftImpl.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ public HighPrecisionMoneyDraftImpl() {
5757
/**
5858
* <p>Amount in the smallest indivisible unit of a currency. This field is optional for high precision. If provided, it is checked for validity. Example:</p>
5959
* <p>A Price of 1.015 USD can be rounded either to 1.01 USD or 1.02 USD. If it lies outside of this range, an error message stating that centAmount must be rounded correctly will be returned.</p>
60+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
6061
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
6162
*/
6263

@@ -90,6 +91,7 @@ public Integer getFractionDigits() {
9091

9192
/**
9293
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
94+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
9395
*/
9496

9597
public Long getPreciseAmount() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/HighPrecisionMoneyImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ public HighPrecisionMoneyImpl() {
6060
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
6161
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
6262
* </ul>
63+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
6364
*/
6465

6566
public Long getCentAmount() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/TypedMoneyImpl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public TypedMoneyImpl() {
5656
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
5757
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
5858
* </ul>
59+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <span>MoneyOverflow</span> error will be returned.</p>
5960
*/
6061

6162
public Long getCentAmount() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import jakarta.validation.constraints.NotNull;
1616

1717
/**
18-
* <p>Returned when a <a href="https://docs.commercetools.com/apis/ctp:api:type:Money" rel="nofollow">Money</a> operation overflows the 64-bit integer range. See <span>Money usage</span> for more information.</p>
18+
* <p>Returned when a money operation overflows the 64-bit integer range.</p>
1919
*
2020
* <hr>
2121
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMoneyOverflowErrorImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
import org.apache.commons.lang3.builder.ToStringStyle;
1919

2020
/**
21-
* <p>Returned when a <a href="https://docs.commercetools.com/apis/ctp:api:type:Money" rel="nofollow">Money</a> operation overflows the 64-bit integer range. See <span>Money usage</span> for more information.</p>
21+
* <p>Returned when a money operation overflows the 64-bit integer range.</p>
2222
*/
2323
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2424
public class GraphQLMoneyOverflowErrorImpl implements GraphQLMoneyOverflowError, ModelBase {

0 commit comments

Comments
 (0)