com.elasticpath.domain.order.impl
Class OrderReturnImpl

java.lang.Object
  extended by com.elasticpath.domain.impl.AbstractEpDomainImpl
      extended by com.elasticpath.domain.impl.AbstractPersistenceImpl
          extended by com.elasticpath.domain.impl.AbstractValueObjectImpl
              extended by com.elasticpath.domain.order.impl.OrderReturnImpl
All Implemented Interfaces:
EpDomain, OrderReturn, Persistence, ValueObject, java.io.Serializable

public class OrderReturnImpl
extends AbstractValueObjectImpl
implements OrderReturn

OrderReturn represents a customer's order return.

See Also:
Serialized Form

Field Summary
static long serialVersionUID
          Serial version id.
 
Constructor Summary
OrderReturnImpl()
           
 
Method Summary
 java.math.BigDecimal getBeforeTaxReturnTotal()
          Get the before-tax return total.
 java.util.Date getCreatedDate()
          Get the date that this order was created on.
 java.util.Set getOrderReturnSkus()
          Get the set of orderReturnSkus for this OrderReturn.
 java.lang.String getReturnComment()
          Get the return comment.
 OrderReturnReason getReturnReason()
          Get the return reason.
 java.util.Set getReturnTaxes()
          Get the set of return taxes.
 java.math.BigDecimal getReturnTotal()
          Get the return total.
 java.lang.String getRmaCode()
          Get the return RMA code.
 void setBeforeTaxReturnTotal(java.math.BigDecimal beforeTaxReturnTotal)
          Set the before-tax return total.
 void setCreatedDate(java.util.Date createdDate)
          Set the date that the order is created.
 void setOrderReturnSkus(java.util.Set orderReturnSkus)
          Set the set of orderReturnSkus for this OrderReturn.
 void setReturnComment(java.lang.String returnComment)
          Set the return comment.
 void setReturnReason(OrderReturnReason returnReason)
          Set the return reason.
 void setReturnTaxes(java.util.Set returnTaxes)
          Set the set of return taxes.
 void setReturnTotal(java.math.BigDecimal returnTotal)
          Set the return total.
 void setRmaCode(java.lang.String rmaCode)
          Set the return RMA code.
 
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

serialVersionUID

public static final long serialVersionUID
Serial version id.

See Also:
Constant Field Values
Constructor Detail

OrderReturnImpl

public OrderReturnImpl()
Method Detail

getBeforeTaxReturnTotal

public java.math.BigDecimal getBeforeTaxReturnTotal()
Get the before-tax return total.

Specified by:
getBeforeTaxReturnTotal in interface OrderReturn
Returns:
the before-tax return total.

getCreatedDate

public java.util.Date getCreatedDate()
Get the date that this order was created on.

Specified by:
getCreatedDate in interface OrderReturn
Returns:
the created date

getOrderReturnSkus

public java.util.Set getOrderReturnSkus()
Get the set of orderReturnSkus for this OrderReturn.

Specified by:
getOrderReturnSkus in interface OrderReturn
Returns:
the set of orderReturnSkus

getReturnComment

public java.lang.String getReturnComment()
Get the return comment.

Specified by:
getReturnComment in interface OrderReturn
Returns:
the return comment.

getReturnReason

public OrderReturnReason getReturnReason()
Get the return reason.

Specified by:
getReturnReason in interface OrderReturn
Returns:
the return reason.

getReturnTaxes

public java.util.Set getReturnTaxes()
Get the set of return taxes.

Specified by:
getReturnTaxes in interface OrderReturn
Returns:
the set of return taxes.

getReturnTotal

public java.math.BigDecimal getReturnTotal()
Get the return total.

Specified by:
getReturnTotal in interface OrderReturn
Returns:
the return total.

getRmaCode

public java.lang.String getRmaCode()
Get the return RMA code.

Specified by:
getRmaCode in interface OrderReturn
Returns:
the return RMA code.

setBeforeTaxReturnTotal

public void setBeforeTaxReturnTotal(java.math.BigDecimal beforeTaxReturnTotal)
Set the before-tax return total.

Specified by:
setBeforeTaxReturnTotal in interface OrderReturn
Parameters:
beforeTaxReturnTotal - the before-tax return total.

setCreatedDate

public void setCreatedDate(java.util.Date createdDate)
Set the date that the order is created.

Specified by:
setCreatedDate in interface OrderReturn
Parameters:
createdDate - the start date

setOrderReturnSkus

public void setOrderReturnSkus(java.util.Set orderReturnSkus)
Set the set of orderReturnSkus for this OrderReturn.

Specified by:
setOrderReturnSkus in interface OrderReturn
Parameters:
orderReturnSkus - the set of orderReturnSkus

setReturnComment

public void setReturnComment(java.lang.String returnComment)
Set the return comment.

Specified by:
setReturnComment in interface OrderReturn
Parameters:
returnComment - the return comment.

setReturnReason

public void setReturnReason(OrderReturnReason returnReason)
Set the return reason.

Specified by:
setReturnReason in interface OrderReturn
Parameters:
returnReason - the return reason.

setReturnTaxes

public void setReturnTaxes(java.util.Set returnTaxes)
Set the set of return taxes.

Specified by:
setReturnTaxes in interface OrderReturn
Parameters:
returnTaxes - the set of return taxes.

setReturnTotal

public void setReturnTotal(java.math.BigDecimal returnTotal)
Set the return total.

Specified by:
setReturnTotal in interface OrderReturn
Parameters:
returnTotal - the return total.

setRmaCode

public void setRmaCode(java.lang.String rmaCode)
Set the return RMA code.

Specified by:
setRmaCode in interface OrderReturn
Parameters:
rmaCode - the return RMA code.