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, setTrackURL
public static final java.lang.String COPYRIGHT
public CommandContext getCommandContext()
getCommandContext
in interface SmartDataBean
public TypedProperty getRequestProperties()
getRequestProperties
in interface InputDataBean
public java.lang.Integer[] getShipModeIds()
getShipModeIds
in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBean
public ShippingModeAccessBean[] getShipModes()
getShipModes
in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBean
public ShippingModeDataBean[] getShipModesData()
public PriceDataBean[] getShippingCharges()
getShippingCharges
in interface com.ibm.commerce.fulfillment.beans.ShippingSmartDataBean
public void populate() throws java.lang.Exception
populate
in interface SmartDataBean
java.lang.Exception
public void setAddressId(java.lang.Long anAddressId)
setAddressId
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
anAddressId
- addressIdpublic void setAddressId(java.lang.String anAddressId)
setAddressId
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
anAddressId
- addressIdpublic void setCatalogEntryId(java.lang.Long anCatalogEntryId)
setCatalogEntryId
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
anCatalogEntryId
- catalogEntryIdpublic void setCatalogEntryId(java.lang.String anCatalogEntryId)
setCatalogEntryId
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
anCatalogEntryId
- catalogEntryIdpublic void setCommandContext(CommandContext context)
setCommandContext
in interface SmartDataBean
context
- 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.ShippingInputDataBean
anFulfillmentCenterId
- fulfillmentCenterIdpublic void setFulfillmentCenterId(java.lang.String astrFulfillmentCenterId)
setFulfillmentCenterId
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
astrFulfillmentCenterId
- fulfillmentCenterIdpublic void setPrice(java.lang.String adPrice)
setPrice
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
adPrice
- Sets pricepublic void setPrice(java.math.BigDecimal adPrice)
setPrice
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
adPrice
- Sets pricepublic void setQuantity(java.lang.Double adQuantity)
setQuantity
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
adQuantity
- Sets quantitypublic void setQuantity(java.lang.String astrQuantity)
setQuantity
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
astrQuantity
- Sets quantitypublic void setRequestProperties(TypedProperty param)
setRequestProperties
in interface InputDataBean
param
- TypedPropertypublic void setUOM(java.lang.String astrUOM)
setUOM
in interface com.ibm.commerce.fulfillment.beans.ShippingInputDataBean
astrUOM
- Sets UOM