Skip to content

Commit 3f4ecdf

Browse files
committed
build(codegen): updating SDK
1 parent eb9667c commit 3f4ecdf

File tree

36 files changed

+229
-240
lines changed

36 files changed

+229
-240
lines changed

changes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@
44
<summary>Changed Property(s)</summary>
55

66
- :warning: changed property `value` of type `DirectDiscountDraft` from type `CartDiscountValue` to `CartDiscountValueDraft`
7+
- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessage` from type `Money` to `CentPrecisionMoney`
8+
- :warning: changed property `value` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney`
9+
- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessage` from type `Money` to `TypedMoney`
10+
- :warning: changed property `totalPrice` of type `OrderLineItemDiscountSetMessagePayload` from type `Money` to `CentPrecisionMoney`
11+
- :warning: changed property `value` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney`
12+
- :warning: changed property `oldValue` of type `StandalonePriceValueChangedMessagePayload` from type `Money` to `TypedMoney`
13+
- :warning: changed property `price` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney`
14+
- :warning: changed property `freeAbove` of type `ShippingRate` from type `TypedMoney` to `CentPrecisionMoney`
715
</details>
816

917

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import io.vrap.rmf.base.client.utils.Generated;
1515

1616
/**
17-
* <p>Object that stores cent amounts in a specific currency.</p>
17+
* <p>Object that stores money in cent amounts of a specific currency.</p>
1818
*
1919
* <hr>
2020
* Example to create an instance using the builder pattern

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

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

1919
/**
20-
* <p>Object that stores cent amounts in a specific currency.</p>
20+
* <p>Object that stores money in cent amounts of a specific currency.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class CentPrecisionMoneyImpl implements CentPrecisionMoney, ModelBase {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import io.vrap.rmf.base.client.utils.Generated;
1515

1616
/**
17-
* <p>Money object that stores an amount of a fraction of the smallest indivisible unit of the specified currency.</p>
17+
* <p>Object that stores money as a fraction of the smallest indivisible unit of a specific currency.</p>
1818
*
1919
* <hr>
2020
* Example to create an instance using the builder pattern

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import io.vrap.rmf.base.client.utils.Generated;
1515

1616
/**
17-
* <p>Money draft object to store an amount of a fraction of the smallest indivisible unit of the specified currency.</p>
17+
* <p>Draft object to store money as a fraction of the smallest indivisible unit for a specific currency.</p>
1818
*
1919
* <hr>
2020
* Example to create an instance using the builder pattern

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

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

1919
/**
20-
* <p>Money draft object to store an amount of a fraction of the smallest indivisible unit of the specified currency.</p>
20+
* <p>Draft object to store money as a fraction of the smallest indivisible unit for a specific currency.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class HighPrecisionMoneyDraftImpl implements HighPrecisionMoneyDraft, ModelBase {

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

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

1919
/**
20-
* <p>Money object that stores an amount of a fraction of the smallest indivisible unit of the specified currency.</p>
20+
* <p>Object that stores money as a fraction of the smallest indivisible unit of a specific currency.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class HighPrecisionMoneyImpl implements HighPrecisionMoney, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessage.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity;
1414
import com.commercetools.api.models.cart.MethodTaxedPrice;
1515
import com.commercetools.api.models.cart.TaxedItemPrice;
16-
import com.commercetools.api.models.common.Money;
16+
import com.commercetools.api.models.common.CentPrecisionMoney;
1717
import com.fasterxml.jackson.annotation.*;
1818
import com.fasterxml.jackson.databind.annotation.*;
1919

@@ -83,7 +83,7 @@ public interface OrderLineItemDiscountSetMessage extends OrderMessage {
8383
@NotNull
8484
@Valid
8585
@JsonProperty("totalPrice")
86-
public Money getTotalPrice();
86+
public CentPrecisionMoney getTotalPrice();
8787

8888
/**
8989
* <p>TaxedItemPrice of the Line Item after the Discount recalculation.</p>
@@ -137,7 +137,7 @@ public void setDiscountedPricePerQuantity(
137137
* @param totalPrice value to be set
138138
*/
139139

140-
public void setTotalPrice(final Money totalPrice);
140+
public void setTotalPrice(final CentPrecisionMoney totalPrice);
141141

142142
/**
143143
* <p>TaxedItemPrice of the Line Item after the Discount recalculation.</p>
@@ -225,7 +225,8 @@ public static OrderLineItemDiscountSetMessage deepCopy(@Nullable final OrderLine
225225
.map(com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity::deepCopy)
226226
.collect(Collectors.toList()))
227227
.orElse(null));
228-
instance.setTotalPrice(com.commercetools.api.models.common.Money.deepCopy(template.getTotalPrice()));
228+
instance.setTotalPrice(
229+
com.commercetools.api.models.common.CentPrecisionMoney.deepCopy(template.getTotalPrice()));
229230
instance.setTaxedPrice(com.commercetools.api.models.cart.TaxedItemPrice.deepCopy(template.getTaxedPrice()));
230231
instance.setTaxedPricePortions(Optional.ofNullable(template.getTaxedPricePortions())
231232
.map(t -> t.stream()

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class OrderLineItemDiscountSetMessageBuilder implements Builder<OrderLine
6464

6565
private java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity;
6666

67-
private com.commercetools.api.models.common.Money totalPrice;
67+
private com.commercetools.api.models.common.CentPrecisionMoney totalPrice;
6868

6969
@Nullable
7070
private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice;
@@ -394,8 +394,8 @@ public OrderLineItemDiscountSetMessageBuilder setDiscountedPricePerQuantity(
394394
*/
395395

396396
public OrderLineItemDiscountSetMessageBuilder totalPrice(
397-
Function<com.commercetools.api.models.common.MoneyBuilder, com.commercetools.api.models.common.MoneyBuilder> builder) {
398-
this.totalPrice = builder.apply(com.commercetools.api.models.common.MoneyBuilder.of()).build();
397+
Function<com.commercetools.api.models.common.CentPrecisionMoneyBuilder, com.commercetools.api.models.common.CentPrecisionMoneyBuilder> builder) {
398+
this.totalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of()).build();
399399
return this;
400400
}
401401

@@ -406,8 +406,8 @@ public OrderLineItemDiscountSetMessageBuilder totalPrice(
406406
*/
407407

408408
public OrderLineItemDiscountSetMessageBuilder withTotalPrice(
409-
Function<com.commercetools.api.models.common.MoneyBuilder, com.commercetools.api.models.common.Money> builder) {
410-
this.totalPrice = builder.apply(com.commercetools.api.models.common.MoneyBuilder.of());
409+
Function<com.commercetools.api.models.common.CentPrecisionMoneyBuilder, com.commercetools.api.models.common.CentPrecisionMoney> builder) {
410+
this.totalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of());
411411
return this;
412412
}
413413

@@ -418,7 +418,7 @@ public OrderLineItemDiscountSetMessageBuilder withTotalPrice(
418418
*/
419419

420420
public OrderLineItemDiscountSetMessageBuilder totalPrice(
421-
final com.commercetools.api.models.common.Money totalPrice) {
421+
final com.commercetools.api.models.common.CentPrecisionMoney totalPrice) {
422422
this.totalPrice = totalPrice;
423423
return this;
424424
}
@@ -676,7 +676,7 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceF
676676
* @return totalPrice
677677
*/
678678

679-
public com.commercetools.api.models.common.Money getTotalPrice() {
679+
public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
680680
return this.totalPrice;
681681
}
682682

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessageImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscoun
5050

5151
private java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity;
5252

53-
private com.commercetools.api.models.common.Money totalPrice;
53+
private com.commercetools.api.models.common.CentPrecisionMoney totalPrice;
5454

5555
private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice;
5656

@@ -72,7 +72,7 @@ public class OrderLineItemDiscountSetMessageImpl implements OrderLineItemDiscoun
7272
@JsonProperty("resourceUserProvidedIdentifiers") final com.commercetools.api.models.message.UserProvidedIdentifiers resourceUserProvidedIdentifiers,
7373
@JsonProperty("lineItemId") final String lineItemId, @JsonProperty("lineItemKey") final String lineItemKey,
7474
@JsonProperty("discountedPricePerQuantity") final java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity,
75-
@JsonProperty("totalPrice") final com.commercetools.api.models.common.Money totalPrice,
75+
@JsonProperty("totalPrice") final com.commercetools.api.models.common.CentPrecisionMoney totalPrice,
7676
@JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice,
7777
@JsonProperty("taxedPricePortions") final java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> taxedPricePortions) {
7878
this.id = id;
@@ -217,7 +217,7 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceF
217217
* <p>Total Price of the Line Item after the Discount recalculation.</p>
218218
*/
219219

220-
public com.commercetools.api.models.common.Money getTotalPrice() {
220+
public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
221221
return this.totalPrice;
222222
}
223223

@@ -296,7 +296,7 @@ public void setDiscountedPricePerQuantity(
296296
this.discountedPricePerQuantity = discountedPricePerQuantity;
297297
}
298298

299-
public void setTotalPrice(final com.commercetools.api.models.common.Money totalPrice) {
299+
public void setTotalPrice(final com.commercetools.api.models.common.CentPrecisionMoney totalPrice) {
300300
this.totalPrice = totalPrice;
301301
}
302302

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayload.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity;
1414
import com.commercetools.api.models.cart.MethodTaxedPrice;
1515
import com.commercetools.api.models.cart.TaxedItemPrice;
16-
import com.commercetools.api.models.common.Money;
16+
import com.commercetools.api.models.common.CentPrecisionMoney;
1717
import com.fasterxml.jackson.annotation.*;
1818
import com.fasterxml.jackson.databind.annotation.*;
1919

@@ -76,7 +76,7 @@ public interface OrderLineItemDiscountSetMessagePayload extends OrderMessagePayl
7676
@NotNull
7777
@Valid
7878
@JsonProperty("totalPrice")
79-
public Money getTotalPrice();
79+
public CentPrecisionMoney getTotalPrice();
8080

8181
/**
8282
* <p>TaxedItemPrice of the Line Item after the Discount recalculation.</p>
@@ -130,7 +130,7 @@ public void setDiscountedPricePerQuantity(
130130
* @param totalPrice value to be set
131131
*/
132132

133-
public void setTotalPrice(final Money totalPrice);
133+
public void setTotalPrice(final CentPrecisionMoney totalPrice);
134134

135135
/**
136136
* <p>TaxedItemPrice of the Line Item after the Discount recalculation.</p>
@@ -197,7 +197,8 @@ public static OrderLineItemDiscountSetMessagePayload deepCopy(
197197
.map(com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity::deepCopy)
198198
.collect(Collectors.toList()))
199199
.orElse(null));
200-
instance.setTotalPrice(com.commercetools.api.models.common.Money.deepCopy(template.getTotalPrice()));
200+
instance.setTotalPrice(
201+
com.commercetools.api.models.common.CentPrecisionMoney.deepCopy(template.getTotalPrice()));
201202
instance.setTaxedPrice(com.commercetools.api.models.cart.TaxedItemPrice.deepCopy(template.getTaxedPrice()));
202203
instance.setTaxedPricePortions(Optional.ofNullable(template.getTaxedPricePortions())
203204
.map(t -> t.stream()

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class OrderLineItemDiscountSetMessagePayloadBuilder implements Builder<Or
3434

3535
private java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity;
3636

37-
private com.commercetools.api.models.common.Money totalPrice;
37+
private com.commercetools.api.models.common.CentPrecisionMoney totalPrice;
3838

3939
@Nullable
4040
private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice;
@@ -163,8 +163,8 @@ public OrderLineItemDiscountSetMessagePayloadBuilder setDiscountedPricePerQuanti
163163
*/
164164

165165
public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice(
166-
Function<com.commercetools.api.models.common.MoneyBuilder, com.commercetools.api.models.common.MoneyBuilder> builder) {
167-
this.totalPrice = builder.apply(com.commercetools.api.models.common.MoneyBuilder.of()).build();
166+
Function<com.commercetools.api.models.common.CentPrecisionMoneyBuilder, com.commercetools.api.models.common.CentPrecisionMoneyBuilder> builder) {
167+
this.totalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of()).build();
168168
return this;
169169
}
170170

@@ -175,8 +175,8 @@ public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice(
175175
*/
176176

177177
public OrderLineItemDiscountSetMessagePayloadBuilder withTotalPrice(
178-
Function<com.commercetools.api.models.common.MoneyBuilder, com.commercetools.api.models.common.Money> builder) {
179-
this.totalPrice = builder.apply(com.commercetools.api.models.common.MoneyBuilder.of());
178+
Function<com.commercetools.api.models.common.CentPrecisionMoneyBuilder, com.commercetools.api.models.common.CentPrecisionMoney> builder) {
179+
this.totalPrice = builder.apply(com.commercetools.api.models.common.CentPrecisionMoneyBuilder.of());
180180
return this;
181181
}
182182

@@ -187,7 +187,7 @@ public OrderLineItemDiscountSetMessagePayloadBuilder withTotalPrice(
187187
*/
188188

189189
public OrderLineItemDiscountSetMessagePayloadBuilder totalPrice(
190-
final com.commercetools.api.models.common.Money totalPrice) {
190+
final com.commercetools.api.models.common.CentPrecisionMoney totalPrice) {
191191
this.totalPrice = totalPrice;
192192
return this;
193193
}
@@ -352,7 +352,7 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceF
352352
* @return totalPrice
353353
*/
354354

355-
public com.commercetools.api.models.common.Money getTotalPrice() {
355+
public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
356356
return this.totalPrice;
357357
}
358358

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/OrderLineItemDiscountSetMessagePayloadImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class OrderLineItemDiscountSetMessagePayloadImpl implements OrderLineItem
3030

3131
private java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity;
3232

33-
private com.commercetools.api.models.common.Money totalPrice;
33+
private com.commercetools.api.models.common.CentPrecisionMoney totalPrice;
3434

3535
private com.commercetools.api.models.cart.TaxedItemPrice taxedPrice;
3636

@@ -43,7 +43,7 @@ public class OrderLineItemDiscountSetMessagePayloadImpl implements OrderLineItem
4343
OrderLineItemDiscountSetMessagePayloadImpl(@JsonProperty("lineItemId") final String lineItemId,
4444
@JsonProperty("lineItemKey") final String lineItemKey,
4545
@JsonProperty("discountedPricePerQuantity") final java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceForQuantity> discountedPricePerQuantity,
46-
@JsonProperty("totalPrice") final com.commercetools.api.models.common.Money totalPrice,
46+
@JsonProperty("totalPrice") final com.commercetools.api.models.common.CentPrecisionMoney totalPrice,
4747
@JsonProperty("taxedPrice") final com.commercetools.api.models.cart.TaxedItemPrice taxedPrice,
4848
@JsonProperty("taxedPricePortions") final java.util.List<com.commercetools.api.models.cart.MethodTaxedPrice> taxedPricePortions) {
4949
this.lineItemId = lineItemId;
@@ -98,7 +98,7 @@ public java.util.List<com.commercetools.api.models.cart.DiscountedLineItemPriceF
9898
* <p>Total Price of the Line Item after the Discount recalculation.</p>
9999
*/
100100

101-
public com.commercetools.api.models.common.Money getTotalPrice() {
101+
public com.commercetools.api.models.common.CentPrecisionMoney getTotalPrice() {
102102
return this.totalPrice;
103103
}
104104

@@ -136,7 +136,7 @@ public void setDiscountedPricePerQuantity(
136136
this.discountedPricePerQuantity = discountedPricePerQuantity;
137137
}
138138

139-
public void setTotalPrice(final com.commercetools.api.models.common.Money totalPrice) {
139+
public void setTotalPrice(final com.commercetools.api.models.common.CentPrecisionMoney totalPrice) {
140140
this.totalPrice = totalPrice;
141141
}
142142

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/message/StandalonePriceValueChangedMessage.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import javax.validation.Valid;
1010
import javax.validation.constraints.NotNull;
1111

12-
import com.commercetools.api.models.common.Money;
12+
import com.commercetools.api.models.common.TypedMoney;
1313
import com.fasterxml.jackson.annotation.*;
1414
import com.fasterxml.jackson.databind.annotation.*;
1515

@@ -52,7 +52,7 @@ public interface StandalonePriceValueChangedMessage extends Message {
5252
@NotNull
5353
@Valid
5454
@JsonProperty("value")
55-
public Money getValue();
55+
public TypedMoney getValue();
5656

5757
/**
5858
* <p>Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.</p>
@@ -68,14 +68,14 @@ public interface StandalonePriceValueChangedMessage extends Message {
6868
*/
6969
@Valid
7070
@JsonProperty("oldValue")
71-
public Money getOldValue();
71+
public TypedMoney getOldValue();
7272

7373
/**
7474
* <p>The new value of the updated StandalonePrice.</p>
7575
* @param value value to be set
7676
*/
7777

78-
public void setValue(final Money value);
78+
public void setValue(final TypedMoney value);
7979

8080
/**
8181
* <p>Whether the new value was applied to the current or the staged representation of the StandalonePrice. Staged changes are stored on the StagedStandalonePrice.</p>
@@ -89,7 +89,7 @@ public interface StandalonePriceValueChangedMessage extends Message {
8989
* @param oldValue value to be set
9090
*/
9191

92-
public void setOldValue(final Money oldValue);
92+
public void setOldValue(final TypedMoney oldValue);
9393

9494
/**
9595
* factory method
@@ -146,9 +146,9 @@ public static StandalonePriceValueChangedMessage deepCopy(
146146
instance.setResourceVersion(template.getResourceVersion());
147147
instance.setResourceUserProvidedIdentifiers(com.commercetools.api.models.message.UserProvidedIdentifiers
148148
.deepCopy(template.getResourceUserProvidedIdentifiers()));
149-
instance.setValue(com.commercetools.api.models.common.Money.deepCopy(template.getValue()));
149+
instance.setValue(com.commercetools.api.models.common.TypedMoney.deepCopy(template.getValue()));
150150
instance.setStaged(template.getStaged());
151-
instance.setOldValue(com.commercetools.api.models.common.Money.deepCopy(template.getOldValue()));
151+
instance.setOldValue(com.commercetools.api.models.common.TypedMoney.deepCopy(template.getOldValue()));
152152
return instance;
153153
}
154154

0 commit comments

Comments
 (0)