com.elasticpath.domain.order
Interface OrderReturnSku

All Superinterfaces:
EpDomain, Persistence, java.io.Serializable, ValueObject
All Known Implementing Classes:
OrderReturnSkuImpl

public interface OrderReturnSku
extends ValueObject

Represents a sku included into the OrderSku.


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 interface com.elasticpath.domain.Persistence
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk
 
Methods inherited from interface com.elasticpath.domain.EpDomain
getElasticPath, setElasticPath
 

Method Detail

getOrderSku

OrderSku getOrderSku()
Get the orderSku for this return.

Returns:
the orderSku for this return.

getQuantity

int getQuantity()
Get the quantity of this sku returned.

Returns:
the quantity

getReturnAmount

java.math.BigDecimal getReturnAmount()
Get the return amount for this item.

Returns:
the return amount

getReturnAmountMoney

Money getReturnAmountMoney(java.util.Currency currency)
Get the return amount as a Money object.

Parameters:
currency - The currency of the order.
Returns:
a Money object representing the return amount

setOrderSku

void setOrderSku(OrderSku orderSku)
Set the orderSku for this return.

Parameters:
orderSku - the orderSku for this return.

setQuantity

void setQuantity(int quantity)
Set the quantity of this sku returned.

Parameters:
quantity - the quantity

setReturnAmount

void setReturnAmount(java.math.BigDecimal returnAmount)
Set the return amount for this item.

Parameters:
returnAmount - the return amount