Class CartDiscountValueAbsoluteDraftImpl
- All Implemented Interfaces:
CartDiscountValueAbsoluteDraft
,CartDiscountValueDraft
,io.vrap.rmf.base.client.Draft<CartDiscountValueAbsoluteDraft>
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Field Summary
Fields inherited from interface com.commercetools.api.models.cart_discount.CartDiscountValueAbsoluteDraft
ABSOLUTE
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountValueAbsoluteDraft
withCartDiscountValueAbsoluteDraft
Methods inherited from interface com.commercetools.api.models.cart_discount.CartDiscountValueDraft
withCartDiscountValueDraft
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
-
Constructor Details
-
CartDiscountValueAbsoluteDraftImpl
public CartDiscountValueAbsoluteDraftImpl()create empty instance
-
-
Method Details
-
getType
- Specified by:
getType
in interfaceCartDiscountValueDraft
- Returns:
- type
-
getMoney
Money values in different currencies. An absolute Cart Discount will only match a price if this array contains a value with the same currency. If it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
- Specified by:
getMoney
in interfaceCartDiscountValueAbsoluteDraft
- Returns:
- money
-
setMoney
Description copied from interface:CartDiscountValueAbsoluteDraft
Money values in different currencies. An absolute Cart Discount will only match a price if this array contains a value with the same currency. If it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
- Specified by:
setMoney
in interfaceCartDiscountValueAbsoluteDraft
- Parameters:
money
- values to be set
-
setMoney
Description copied from interface:CartDiscountValueAbsoluteDraft
Money values in different currencies. An absolute Cart Discount will only match a price if this array contains a value with the same currency. If it contains 10€ and 15$, the matching € price will be decreased by 10€ and the matching $ price will be decreased by 15$.
- Specified by:
setMoney
in interfaceCartDiscountValueAbsoluteDraft
- Parameters:
money
- values to be set
-
equals
-
hashCode
-