|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractPersistenceImpl
com.elasticpath.domain.impl.AbstractValueObjectImpl
com.elasticpath.domain.order.impl.OrderShipmentImpl
public class OrderShipmentImpl
OrderShipment represents a customer's order shipment.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
OrderShipmentImpl()
|
|
| Method Summary | |
|---|---|
void |
addOrderSku(OrderSku orderSku)
Add an order SKU. |
java.math.BigDecimal |
getBeforeTaxShippingCost()
Get the before-tax shipping cost in BigDecimal. |
java.lang.String |
getCarrier()
|
java.util.Date |
getCreatedDate()
Get the date that this order was created on. |
java.util.Date |
getLastModifiedDate()
Get the date that the order was last modified on. |
java.util.Set |
getOrderSkus()
Get the SKUs in this order. |
java.lang.String |
getServiceLevel()
|
OrderAddress |
getShipmentAddress()
Get the shipment address corresponding to this shipment. |
java.util.Date |
getShipmentDate()
Get the date that the order was shipped on. |
java.math.BigDecimal |
getShippingCost()
Get the shipping cost in BigDecimal. |
OrderShipmentStatus |
getStatus()
Get the status of the shipment. |
java.lang.String |
getTrackingCode()
|
void |
setBeforeTaxShippingCost(java.math.BigDecimal beforeTaxShippingCost)
Set the before-tax shipping cost in BigDecimal. |
void |
setCarrier(java.lang.String carrier)
|
void |
setCreatedDate(java.util.Date createdDate)
Set the date that the order is created. |
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
Set the date that the order was last modified on. |
void |
setOrderSkus(java.util.Set orderSkus)
Set the SKUs in this order. |
void |
setServiceLevel(java.lang.String serviceLevel)
|
void |
setShipmentAddress(OrderAddress shipmentAddress)
Set the shipping address corresponding to this shipment. |
void |
setShipmentDate(java.util.Date shipmentDate)
Set the date that the order was shipped on. |
void |
setShippingCost(java.math.BigDecimal shippingCost)
Set the shipping cost in BigDecimal. |
void |
setStatus(OrderShipmentStatus status)
Set the status of the shipment. |
void |
setTrackingCode(java.lang.String trackingCode)
|
| 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 OrderShipmentImpl()
| Method Detail |
|---|
public void addOrderSku(OrderSku orderSku)
addOrderSku in interface OrderShipmentorderSku - the order SKU to addpublic java.math.BigDecimal getBeforeTaxShippingCost()
BigDecimal.
getBeforeTaxShippingCost in interface OrderShipmentBigDecimal.public java.lang.String getCarrier()
getCarrier in interface OrderShipmentpublic java.util.Date getCreatedDate()
getCreatedDate in interface OrderShipmentpublic java.util.Date getLastModifiedDate()
getLastModifiedDate in interface OrderShipmentpublic java.util.Set getOrderSkus()
getOrderSkus in interface OrderShipmentOrderSkusspublic java.lang.String getServiceLevel()
getServiceLevel in interface OrderShipmentpublic OrderAddress getShipmentAddress()
getShipmentAddress in interface OrderShipmentpublic java.util.Date getShipmentDate()
getShipmentDate in interface OrderShipmentpublic java.math.BigDecimal getShippingCost()
BigDecimal.
getShippingCost in interface OrderShipmentBigDecimal.public OrderShipmentStatus getStatus()
getStatus in interface OrderShipmentpublic java.lang.String getTrackingCode()
getTrackingCode in interface OrderShipmentpublic void setBeforeTaxShippingCost(java.math.BigDecimal beforeTaxShippingCost)
BigDecimal.
setBeforeTaxShippingCost in interface OrderShipmentbeforeTaxShippingCost - the before-tax shipping costpublic void setCarrier(java.lang.String carrier)
setCarrier in interface OrderShipmentcarrier - The carrier to set.public void setCreatedDate(java.util.Date createdDate)
setCreatedDate in interface OrderShipmentcreatedDate - the start datepublic void setLastModifiedDate(java.util.Date lastModifiedDate)
setLastModifiedDate in interface OrderShipmentlastModifiedDate - the date that the order was last modifiedpublic void setOrderSkus(java.util.Set orderSkus)
setOrderSkus in interface OrderShipmentorderSkus - the set of OrderSkuspublic void setServiceLevel(java.lang.String serviceLevel)
setServiceLevel in interface OrderShipmentserviceLevel - The serviceLevel to set.public void setShipmentAddress(OrderAddress shipmentAddress)
setShipmentAddress in interface OrderShipmentshipmentAddress - the Uid of the corresponding shipment address.public void setShipmentDate(java.util.Date shipmentDate)
setShipmentDate in interface OrderShipmentshipmentDate - the date that the order was shipped onpublic void setShippingCost(java.math.BigDecimal shippingCost)
BigDecimal.
setShippingCost in interface OrderShipmentshippingCost - the shipping costpublic void setStatus(OrderShipmentStatus status)
setStatus in interface OrderShipmentstatus - the status of the shipmentpublic void setTrackingCode(java.lang.String trackingCode)
setTrackingCode in interface OrderShipmenttrackingCode - The trackingCode to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||