Class OrderExcerptImpl
java.lang.Object
com.commercetools.api.models.order_edit.OrderExcerptImpl
- All Implemented Interfaces:
OrderExcerpt
,io.vrap.rmf.base.client.ModelBase
public class OrderExcerptImpl
extends Object
implements OrderExcerpt, io.vrap.rmf.base.client.ModelBase
Excerpt of the Order extracting the total and the taxed price.
-
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
Taxed price of the Order.Total price of the Order.Current version of the Order.int
hashCode()
void
setTaxedPrice
(TaxedPrice taxedPrice) Taxed price of the Order.void
setTotalPrice
(TypedMoney totalPrice) Total price of the Order.void
setVersion
(Long version) Current version of the Order.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_edit.OrderExcerpt
withOrderExcerpt
-
Constructor Details
-
OrderExcerptImpl
public OrderExcerptImpl()create empty instance
-
-
Method Details
-
getTotalPrice
Total price of the Order.
- Specified by:
getTotalPrice
in interfaceOrderExcerpt
- Returns:
- totalPrice
-
getTaxedPrice
Taxed price of the Order.
- Specified by:
getTaxedPrice
in interfaceOrderExcerpt
- Returns:
- taxedPrice
-
getVersion
Current version of the Order.
- Specified by:
getVersion
in interfaceOrderExcerpt
- Returns:
- version
-
setTotalPrice
Description copied from interface:OrderExcerpt
Total price of the Order.
- Specified by:
setTotalPrice
in interfaceOrderExcerpt
- Parameters:
totalPrice
- value to be set
-
setTaxedPrice
Description copied from interface:OrderExcerpt
Taxed price of the Order.
- Specified by:
setTaxedPrice
in interfaceOrderExcerpt
- Parameters:
taxedPrice
- value to be set
-
setVersion
Description copied from interface:OrderExcerpt
Current version of the Order.
- Specified by:
setVersion
in interfaceOrderExcerpt
- Parameters:
version
- value to be set
-
equals
-
hashCode
public int hashCode()
-