Class TaxedItemPriceDraftImpl
java.lang.Object
com.commercetools.api.models.order.TaxedItemPriceDraftImpl
- All Implemented Interfaces:
TaxedItemPriceDraft
,io.vrap.rmf.base.client.Draft<TaxedItemPriceDraft>
,io.vrap.rmf.base.client.ModelBase
public class TaxedItemPriceDraftImpl
extends Object
implements TaxedItemPriceDraft, io.vrap.rmf.base.client.ModelBase
TaxedItemPriceDraft
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Draft type that stores amounts only in cent precision for the specified currency.Draft type that stores amounts only in cent precision for the specified currency.int
hashCode()
void
setTotalGross
(Money totalGross) Draft type that stores amounts only in cent precision for the specified currency.void
setTotalNet
(Money totalNet) Draft type that stores amounts only in cent precision for the specified currency.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.order.TaxedItemPriceDraft
withTaxedItemPriceDraft
-
Constructor Details
-
TaxedItemPriceDraftImpl
public TaxedItemPriceDraftImpl()create empty instance
-
-
Method Details
-
getTotalNet
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
getTotalNet
in interfaceTaxedItemPriceDraft
- Returns:
- totalNet
-
getTotalGross
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
getTotalGross
in interfaceTaxedItemPriceDraft
- Returns:
- totalGross
-
setTotalNet
Description copied from interface:TaxedItemPriceDraft
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
setTotalNet
in interfaceTaxedItemPriceDraft
- Parameters:
totalNet
- value to be set
-
setTotalGross
Description copied from interface:TaxedItemPriceDraft
Draft type that stores amounts only in cent precision for the specified currency.
- Specified by:
setTotalGross
in interfaceTaxedItemPriceDraft
- Parameters:
totalGross
- value to be set
-
equals
-
hashCode
-