|
|||||||||
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.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 OrderShipment
orderSku
- the order SKU to addpublic java.math.BigDecimal getBeforeTaxShippingCost()
BigDecimal
.
getBeforeTaxShippingCost
in interface OrderShipment
BigDecimal
.public java.lang.String getCarrier()
getCarrier
in interface OrderShipment
public java.util.Date getCreatedDate()
getCreatedDate
in interface OrderShipment
public java.util.Date getLastModifiedDate()
getLastModifiedDate
in interface OrderShipment
public java.util.Set getOrderSkus()
getOrderSkus
in interface OrderShipment
OrderSkus
spublic java.lang.String getServiceLevel()
getServiceLevel
in interface OrderShipment
public OrderAddress getShipmentAddress()
getShipmentAddress
in interface OrderShipment
public java.util.Date getShipmentDate()
getShipmentDate
in interface OrderShipment
public java.math.BigDecimal getShippingCost()
BigDecimal
.
getShippingCost
in interface OrderShipment
BigDecimal
.public OrderShipmentStatus getStatus()
getStatus
in interface OrderShipment
public java.lang.String getTrackingCode()
getTrackingCode
in interface OrderShipment
public void setBeforeTaxShippingCost(java.math.BigDecimal beforeTaxShippingCost)
BigDecimal
.
setBeforeTaxShippingCost
in interface OrderShipment
beforeTaxShippingCost
- the before-tax shipping costpublic void setCarrier(java.lang.String carrier)
setCarrier
in interface OrderShipment
carrier
- The carrier to set.public void setCreatedDate(java.util.Date createdDate)
setCreatedDate
in interface OrderShipment
createdDate
- the start datepublic void setLastModifiedDate(java.util.Date lastModifiedDate)
setLastModifiedDate
in interface OrderShipment
lastModifiedDate
- the date that the order was last modifiedpublic void setOrderSkus(java.util.Set orderSkus)
setOrderSkus
in interface OrderShipment
orderSkus
- the set of OrderSku
spublic void setServiceLevel(java.lang.String serviceLevel)
setServiceLevel
in interface OrderShipment
serviceLevel
- The serviceLevel to set.public void setShipmentAddress(OrderAddress shipmentAddress)
setShipmentAddress
in interface OrderShipment
shipmentAddress
- the Uid of the corresponding shipment address.public void setShipmentDate(java.util.Date shipmentDate)
setShipmentDate
in interface OrderShipment
shipmentDate
- the date that the order was shipped onpublic void setShippingCost(java.math.BigDecimal shippingCost)
BigDecimal
.
setShippingCost
in interface OrderShipment
shippingCost
- the shipping costpublic void setStatus(OrderShipmentStatus status)
setStatus
in interface OrderShipment
status
- the status of the shipmentpublic void setTrackingCode(java.lang.String trackingCode)
setTrackingCode
in interface OrderShipment
trackingCode
- The trackingCode to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |