Skip to content

Commit db696cf

Browse files
committed
build(codegen): updating SDK
1 parent 4ed9e4c commit db696cf

13 files changed

+16
-0
lines changed

lib/commercetools-api/src/Models/Common/CentPrecisionMoneyBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ final class CentPrecisionMoneyBuilder implements Builder
4444
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
4545
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
4646
* </ul>
47+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
4748
*
4849
4950
* @return null|int

lib/commercetools-api/src/Models/Common/CentPrecisionMoneyModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ public function __construct(
6666
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
6767
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
6868
* </ul>
69+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
6970
*
7071
*
7172
* @return null|int

lib/commercetools-api/src/Models/Common/HighPrecisionMoneyBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ final class HighPrecisionMoneyBuilder implements Builder
5050
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
5151
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
5252
* </ul>
53+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
5354
*
5455
5556
* @return null|int

lib/commercetools-api/src/Models/Common/HighPrecisionMoneyDraft.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public function getFractionDigits();
2525

2626
/**
2727
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
28+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
2829
*
2930
3031
* @return null|int
@@ -34,6 +35,7 @@ public function getPreciseAmount();
3435
/**
3536
* <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>
3637
* <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>
38+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
3739
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
3840
*
3941

lib/commercetools-api/src/Models/Common/HighPrecisionMoneyDraftBuilder.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ final class HighPrecisionMoneyDraftBuilder implements Builder
4747
/**
4848
* <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>
4949
* <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>
50+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
5051
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
5152
*
5253
@@ -81,6 +82,7 @@ public function getFractionDigits()
8182

8283
/**
8384
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
85+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
8486
*
8587
8688
* @return null|int

lib/commercetools-api/src/Models/Common/HighPrecisionMoneyDraftModel.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ public function __construct(
7171
/**
7272
* <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>
7373
* <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>
74+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
7475
* <p>If <code>centAmount</code> is not provided, the API calculates the value automatically using the default rounding mode half even.</p>
7576
*
7677
*
@@ -152,6 +153,7 @@ public function getFractionDigits()
152153

153154
/**
154155
* <p>Amount in 1 / (10 ^ <code>fractionDigits</code>) of a currency.</p>
156+
* <p><code>preciseAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
155157
*
156158
*
157159
* @return null|int

lib/commercetools-api/src/Models/Common/HighPrecisionMoneyModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ public function __construct(
7474
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
7575
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
7676
* </ul>
77+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
7778
*
7879
*
7980
* @return null|int

lib/commercetools-api/src/Models/Common/Money.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ interface Money extends JsonObject
2222
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
2323
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
2424
* </ul>
25+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
2526
*
2627
2728
* @return null|int

lib/commercetools-api/src/Models/Common/MoneyBuilder.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ final class MoneyBuilder implements Builder
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 <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
4142
*
4243
4344
* @return null|int

lib/commercetools-api/src/Models/Common/MoneyModel.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public function __construct(
4949
* <li>Cents for EUR and USD, pence for GBP, or centime for CHF (5 CHF is specified as <code>500</code>).</li>
5050
* <li>The value in the major unit for currencies without minor units, like JPY (5 JPY is specified as <code>5</code>).</li>
5151
* </ul>
52+
* <p><code>centAmount</code> is represented as 64-bit integers. If this limit is exceeded, a <a href="/errors#moneyoverflow">MoneyOverflow</a> error will be returned.</p>
5253
*
5354
*
5455
* @return null|int

0 commit comments

Comments
 (0)