|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.impl.AbstractValueObjectImpl com.elasticpath.domain.order.impl.OrderReturnSkuImpl
public class OrderReturnSkuImpl
The default implementation of OrderReturnSku
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
OrderReturnSkuImpl()
|
Method Summary | |
---|---|
OrderSku |
getOrderSku()
Get the orderSku for this return. |
int |
getQuantity()
Get the quantity of this sku returned. |
java.math.BigDecimal |
getReturnAmount()
Get the return amount for this item. |
Money |
getReturnAmountMoney(java.util.Currency currency)
Get the return amount as a Money object. |
void |
setOrderSku(OrderSku orderSku)
Set the orderSku for this return. |
void |
setQuantity(int quantity)
Set the quantity of this sku returned. |
void |
setReturnAmount(java.math.BigDecimal returnAmount)
Set the return amount for this item. |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
getElasticPath, setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public OrderReturnSkuImpl()
Method Detail |
---|
public OrderSku getOrderSku()
getOrderSku
in interface OrderReturnSku
public int getQuantity()
getQuantity
in interface OrderReturnSku
public java.math.BigDecimal getReturnAmount()
getReturnAmount
in interface OrderReturnSku
public Money getReturnAmountMoney(java.util.Currency currency)
Money
object.
getReturnAmountMoney
in interface OrderReturnSku
currency
- The currency of the order.
Money
object representing the return amountpublic void setOrderSku(OrderSku orderSku)
setOrderSku
in interface OrderReturnSku
orderSku
- the orderSku for this return.public void setQuantity(int quantity)
setQuantity
in interface OrderReturnSku
quantity
- the quantitypublic void setReturnAmount(java.math.BigDecimal returnAmount)
setReturnAmount
in interface OrderReturnSku
returnAmount
- the return amount
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |