|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface OrderShipment
OrderShipment
represents a customer's order shipment.
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 shipment. |
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 shipment. |
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 interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
getElasticPath, setElasticPath |
Method Detail |
---|
void addOrderSku(OrderSku orderSku)
orderSku
- the order SKU to addjava.math.BigDecimal getBeforeTaxShippingCost()
BigDecimal
.
BigDecimal
.java.lang.String getCarrier()
java.util.Date getCreatedDate()
java.util.Date getLastModifiedDate()
java.util.Set getOrderSkus()
OrderSkus
sjava.lang.String getServiceLevel()
OrderAddress getShipmentAddress()
java.util.Date getShipmentDate()
java.math.BigDecimal getShippingCost()
BigDecimal
.
BigDecimal
.OrderShipmentStatus getStatus()
java.lang.String getTrackingCode()
void setBeforeTaxShippingCost(java.math.BigDecimal beforeTaxShippingCost)
BigDecimal
.
beforeTaxShippingCost
- the before-tax shipping costvoid setCarrier(java.lang.String carrier)
carrier
- The carrier to set.void setCreatedDate(java.util.Date createdDate)
createdDate
- the start datevoid setLastModifiedDate(java.util.Date lastModifiedDate)
lastModifiedDate
- the date that the order was last modifiedvoid setOrderSkus(java.util.Set orderSkus)
orderSkus
- the set of OrderSku
svoid setServiceLevel(java.lang.String serviceLevel)
serviceLevel
- The serviceLevel to set.void setShipmentAddress(OrderAddress shipmentAddress)
shipmentAddress
- the Uid of the corresponding shipment address.void setShipmentDate(java.util.Date shipmentDate)
shipmentDate
- the date that the order was shipped onvoid setShippingCost(java.math.BigDecimal shippingCost)
BigDecimal
.
shippingCost
- the shipping costvoid setStatus(OrderShipmentStatus status)
status
- the status of the shipmentvoid setTrackingCode(java.lang.String trackingCode)
trackingCode
- The trackingCode to set.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |