public class ShippingDataBean extends ShippingModeAccessBean implements com.ibm.commerce.fulfillment.beans.ShippingInputDataBean, com.ibm.commerce.fulfillment.beans.ShippingSmartDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString| Constructor and Description |
|---|
ShippingDataBean()
This is the default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
CommandContext |
getCommandContext()
This method returns command context
|
TypedProperty |
getRequestProperties()
This method returns request properties
|
java.lang.Integer[] |
getShipModeIds()
This method returns a list of available shipping mode ids.
|
ShippingModeAccessBean[] |
getShipModes()
This method returns a list of available shipping mode access beans.
|
ShippingModeDataBean[] |
getShipModesData()
This method returns a list of available shipping mode data beans.
|
PriceDataBean[] |
getShippingCharges()
This method returns a list of shipping charges corresponding to the available ship modes.
|
void |
populate()
This method is used to populate the ShippingDataBean.
|
void |
setAddressId(java.lang.Long anAddressId)
This method sets address id (optional).
|
void |
setAddressId(java.lang.String anAddressId)
This method sets address id (optional).
|
void |
setCatalogEntryId(java.lang.Long anCatalogEntryId)
This method sets catalog entry id.
|
void |
setCatalogEntryId(java.lang.String anCatalogEntryId)
This method sets catalog entry id.
|
void |
setCommandContext(CommandContext context)
This method sets command context
|
void |
setCurrency(java.lang.String astrCurrency)
This method sets currency
|
void |
setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
This method sets fulfillment center id (optional).
|
void |
setFulfillmentCenterId(java.lang.String astrFulfillmentCenterId)
This method sets fulfillment center id (optional).
|
void |
setPrice(java.math.BigDecimal adPrice)
This method sets price (optional).
|
void |
setPrice(java.lang.String adPrice)
This method sets price (optional).
|
void |
setQuantity(java.lang.Double adQuantity)
This method sets quantity (optional).
|
void |
setQuantity(java.lang.String astrQuantity)
This method sets quantity (optional).
|
void |
setRequestProperties(TypedProperty param)
This method sets request properties.
|
void |
setStoreId(java.lang.Integer anStoreId)
This method sets store id (optional).
|
void |
setStoreId(java.lang.String asStoreId)
This method sets store id (optional).
|
void |
setUOM(java.lang.String astrUOM)
This method sets unit of measure (optional).
|
findAll, findAllNoCache, findByOrderItemId, findByStoreEntity, findByStoreEntityIdCodeAndCarrier, findByStoreEntityIdCodeAndCarrierNoCache, findByStoreEntityNoCache, findByStorePath, findByStorePathCodeAndCarrier, findByStorePathCodeAndCarrierNoCache, findByStorePathNoCache, getCarrier, getCode, getDescription, getDescriptionNoCache, getEntity, getField1, getField2, getField2InEntityType, getMarkForDelete, getShippingModeId, getShippingModeIdInEntityType, getStoreEntityId, getStoreEntityIdInEntityType, getTrackIcon, getTrackInquiryType, getTrackName, getTrackSocksHost, getTrackSocksPort, getTrackSocksPortInEntityType, getTrackURL, instantiateEntity, setCarrier, setCode, setField1, setField2, setField2, setInitKey_shippingModeId, setInitKey_shippingModeId, setMarkForDelete, setStoreEntityId, setStoreEntityId, setTrackIcon, setTrackInquiryType, setTrackName, setTrackSocksHost, setTrackSocksPort, setTrackSocksPort, setTrackURLpublic static final java.lang.String COPYRIGHT
public CommandContext getCommandContext()
getCommandContext in interface SmartDataBeanpublic TypedProperty getRequestProperties()
getRequestProperties in interface InputDataBeanpublic java.lang.Integer[] getShipModeIds()
getShipModeIds in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBeanpublic ShippingModeAccessBean[] getShipModes()
getShipModes in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBeanpublic ShippingModeDataBean[] getShipModesData()
public PriceDataBean[] getShippingCharges()
getShippingCharges in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBeanpublic void populate()
throws java.lang.Exception
populate in interface SmartDataBeanjava.lang.Exceptionpublic void setAddressId(java.lang.Long anAddressId)
setAddressId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeananAddressId - addressIdpublic void setAddressId(java.lang.String anAddressId)
setAddressId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeananAddressId - addressIdpublic void setCatalogEntryId(java.lang.Long anCatalogEntryId)
setCatalogEntryId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeananCatalogEntryId - catalogEntryIdpublic void setCatalogEntryId(java.lang.String anCatalogEntryId)
setCatalogEntryId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeananCatalogEntryId - catalogEntryIdpublic void setCommandContext(CommandContext context)
setCommandContext in interface SmartDataBeancontext - contextpublic void setCurrency(java.lang.String astrCurrency)
astrCurrency - currencypublic void setStoreId(java.lang.Integer anStoreId)
anStoreId - the store which calculation is based on.public void setStoreId(java.lang.String asStoreId)
asStoreId - storeIdpublic void setFulfillmentCenterId(java.lang.Integer anFulfillmentCenterId)
setFulfillmentCenterId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeananFulfillmentCenterId - fulfillmentCenterIdpublic void setFulfillmentCenterId(java.lang.String astrFulfillmentCenterId)
setFulfillmentCenterId in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanastrFulfillmentCenterId - fulfillmentCenterIdpublic void setPrice(java.lang.String adPrice)
setPrice in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanadPrice - Sets pricepublic void setPrice(java.math.BigDecimal adPrice)
setPrice in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanadPrice - Sets pricepublic void setQuantity(java.lang.Double adQuantity)
setQuantity in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanadQuantity - Sets quantitypublic void setQuantity(java.lang.String astrQuantity)
setQuantity in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanastrQuantity - Sets quantitypublic void setRequestProperties(TypedProperty param)
setRequestProperties in interface InputDataBeanparam - TypedPropertypublic void setUOM(java.lang.String astrUOM)
setUOM in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBeanastrUOM - Sets UOM