public class ShippingAdjustmentDataBean extends java.lang.Object implements ShippingAdjustmentCommandDataBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
The IBM copyright notice field.
|
emptyString| Constructor and Description |
|---|
ShippingAdjustmentDataBean() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
fulfills(java.lang.Long member,
java.lang.String relationship)
Determines if a given member fulfills a given relationship with the resource.
|
java.lang.String |
getCommandInterfaceName()
This method returns the command interface name for the command data bean.
|
java.math.BigDecimal |
getCurrentShipModePercentageOff()
This method returns the current TSR given shipping adjustment percentage value, this number may be given by previous TSR or
given by this TSR previously.
|
Protectable |
getDelegate()
Retrieves its delegate.
|
FormattedMonetaryAmountDataBean |
getFormattedAdjustableBaseShipModeTotalAmount()
This method returns the total adjustable cost of shipping with no adjustments and/or discounts that apply to this shipMode and is adjustable.
|
FormattedMonetaryAmountDataBean |
getFormattedAdjustableTSRBaseShipModeTotalAmount()
This method returns the TSR base amount on which current TSR can give adjustment.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentShipModeAdjustmentAmount()
This method returns the sum of the current shipping adjustments applied to items with this shipMode.
|
FormattedMonetaryAmountDataBean |
getFormattedCurrentShipModeTotalAmount()
This method returns the total cost of the shipping charge for the order for editable item with this shipping mode.
|
FormattedMonetaryAmountDataBean |
getFormattedPotentialShipModeAdjustmentAmount()
This method returns the Max Allowable shipping adjustment amount the current TSR can give
for this specific shipping mode within his/her role limit.
|
FormattedMonetaryAmountDataBean |
getFormattedPotentialShipModeTotalAmount()
This method returns the shipping charge amount assuming the current TSR gave his/her Max Allowable
shipping adjustment amount for this specific shipping mode.
|
FormattedMonetaryAmountDataBean |
getFormattedUnadjustableCurrentShipModeTotalAmount()
This method returns the total cost of the shipping charge for the order for non-editable item with this shipping mode.
|
java.math.BigDecimal |
getMaxPercentageOff()
This method returns the Max Allowable shipping adjustment percentage value the current TSR can give
for this specific shipping mode within his/her role limit.
|
java.lang.String |
getOrderId()
This method returns the string representation of the orderId to which this databean is belong.
|
java.lang.Long |
getOwner()
Retrieves the member id of the owner of the databean, the member id of the store.
|
TypedProperty |
getRequestProperties()
This method returns the request properties of the input data bean.
|
MemberDataBean |
getServiceRepresentative()
This method returns the
MemberDataBean of the TSR who have given the current shipping adjustment. |
java.lang.String |
getShipModeId()
This method returns the string representation of the shipModeId.
|
ShippingAdjustmentDataBean[] |
getShippingAdjustmentDataBeans()
This method returns a set of ShippingAdjustmentDataBean databeans, each databean corresponding to one shipMode in the Order.
|
void |
setCommandInterfaceName(java.lang.String aCommandInterface)
This method sets the command interface name for the command data bean.
|
void |
setCurrentShipModePercentageOff(java.math.BigDecimal aCurrentShipModePercentageOff)
This method sets the current TSR given shipping adjustment percentage value, this number may be given by previous TSR or
given by this TSR previously.
|
void |
setFormattedAdjustableBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableBaseShipModeTotalAmount)
This method sets the total adjustable cost of shipping with no adjustments and/or discounts that apply to this shipMode and is adjustable.
|
void |
setFormattedAdjustableTSRBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableTSRBaseShipModeTotalAmount)
This method sets the TSR base amount on which current TSR can give adjustment.
|
void |
setFormattedCurrentShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeAdjustmentAmount)
This method sets the sum of the current shipping adjustments applied to items with this shipMode.
|
void |
setFormattedCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeTotalAmount)
This method sets the total cost of the shipping charge for the order for editable item with this shipping mode.
|
void |
setFormattedPotentialShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeAdjustmentAmount)
This method sets the Max Allowable shipping adjustment amount the current TSR can give
for this specific shipping mode within his/her role limit.
|
void |
setFormattedPotentialShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeTotalAmount)
This method sets the shipping charge amount assuming the current TSR gave his/her Max Allowable
shipping adjustment amount for this specific shipping mode.
|
void |
setFormattedUnadjustableCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedUnadjustableCurrentShipModeTotalAmount)
This method sets the total adjustable cost of the shipping charge for the order for non-editable item with this shipping mode.
|
void |
setMaxPercentageOff(java.math.BigDecimal aMaxPercentageOff)
This method sets the Max Allowable shipping adjustment percentage value the current TSR can give
for this specific shipping mode within his/her role limit.
|
void |
setOrderId(java.lang.String aOrderId)
This method sets the OrderId for retrieving a set of ShippingAdjustmentDataBean databeans.
|
void |
setRequestProperties(TypedProperty aRequestProperties)
This method sets the requestProperties associated
with the input data bean.
|
void |
setServiceRepresentative(MemberDataBean aServiceRepresentative)
This method sets the
MemberDataBean of the TSR who have given the current shipping adjustment. |
void |
setShipModeId(java.lang.String aShipModeId)
This method sets the string representation of the shipModeId.
|
void |
setShippingAdjustmentDataBeans(ShippingAdjustmentDataBean[] aShippingAdjustmentDataBeans)
This method sets a set of ShippingAdjustmentDataBean databeans, each databean corresponding to one shipMode in the Order.
|
public static final java.lang.String COPYRIGHT
public void setOrderId(java.lang.String aOrderId)
setOrderId in interface ShippingAdjustmentCommandDataBeanaOrderId - the Order IDpublic java.lang.String getOrderId()
getOrderId in interface ShippingAdjustmentCommandDataBeanpublic void setShippingAdjustmentDataBeans(ShippingAdjustmentDataBean[] aShippingAdjustmentDataBeans)
aShippingAdjustmentDataBeans - an array of ShippingAdjustmentDataBeanpublic ShippingAdjustmentDataBean[] getShippingAdjustmentDataBeans()
getShippingAdjustmentDataBeans in interface ShippingAdjustmentCommandDataBeanpublic void setShipModeId(java.lang.String aShipModeId)
aShipModeId - the string representation of the shipModeIdpublic java.lang.String getShipModeId()
getShipModeId in interface ShippingAdjustmentCommandDataBeanpublic void setServiceRepresentative(MemberDataBean aServiceRepresentative)
MemberDataBean of the TSR who have given the current shipping adjustment.aServiceRepresentative - the MemberDataBean of the TSR.public MemberDataBean getServiceRepresentative()
MemberDataBean of the TSR who have given the current shipping adjustment.getServiceRepresentative in interface ShippingAdjustmentCommandDataBeanpublic TypedProperty getRequestProperties()
getRequestProperties in interface InputDataBeanpublic void setRequestProperties(TypedProperty aRequestProperties)
setRequestProperties in interface InputDataBeanaRequestProperties - the set of properties passed to the JSP page that invokes this data bean,public void setCommandInterfaceName(java.lang.String aCommandInterface)
setCommandInterfaceName in interface CommandDataBeanaCommandInterface - the name of the interface of the command.public java.lang.String getCommandInterfaceName()
getCommandInterfaceName in interface CommandDataBeanpublic Protectable getDelegate()
getDelegate in interface Delegatorpublic java.lang.Long getOwner()
getOwner in interface Protectablepublic boolean fulfills(java.lang.Long member,
java.lang.String relationship)
fulfills in interface Protectablemember - The member ID of the member.relationship - The relationship the member has with respect to the resource.public void setFormattedAdjustableBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableBaseShipModeTotalAmount)
aFormattedAdjustableBaseShipModeTotalAmount - the formatted adjustable base shipMode total amount.public FormattedMonetaryAmountDataBean getFormattedAdjustableBaseShipModeTotalAmount()
getFormattedAdjustableBaseShipModeTotalAmount in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedAdjustableTSRBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableTSRBaseShipModeTotalAmount)
aFormattedAdjustableTSRBaseShipModeTotalAmount - the current TSR given shipping adjustment amount.public FormattedMonetaryAmountDataBean getFormattedAdjustableTSRBaseShipModeTotalAmount()
getFormattedAdjustableTSRBaseShipModeTotalAmount in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeTotalAmount)
aFormattedCurrentShipModeTotalAmount - the formatted TSR base shipMode total amount.public FormattedMonetaryAmountDataBean getFormattedCurrentShipModeTotalAmount()
getFormattedCurrentShipModeTotalAmount in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedUnadjustableCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedUnadjustableCurrentShipModeTotalAmount)
aFormattedUnadjustableCurrentShipModeTotalAmount - the formatted adjustable TSR base shipMode total amount.public FormattedMonetaryAmountDataBean getFormattedUnadjustableCurrentShipModeTotalAmount()
getFormattedUnadjustableCurrentShipModeTotalAmount in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedCurrentShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeAdjustmentAmount)
aFormattedCurrentShipModeAdjustmentAmount - the sum of the current shipping adjustments applied to items with this shipMode.public FormattedMonetaryAmountDataBean getFormattedCurrentShipModeAdjustmentAmount()
getFormattedCurrentShipModeAdjustmentAmount in interface ShippingAdjustmentCommandDataBeanpublic void setCurrentShipModePercentageOff(java.math.BigDecimal aCurrentShipModePercentageOff)
aCurrentShipModePercentageOff - the current TSR given shipping adjustment percentage value.public java.math.BigDecimal getCurrentShipModePercentageOff()
getCurrentShipModePercentageOff in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedPotentialShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeTotalAmount)
aFormattedPotentialShipmodeTotalAmount - the shipping charge amount assuming the current TSR gave his/her Max Allowable shipping adjustment amount.public FormattedMonetaryAmountDataBean getFormattedPotentialShipModeTotalAmount()
getFormattedPotentialShipModeTotalAmount in interface ShippingAdjustmentCommandDataBeanpublic void setFormattedPotentialShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeAdjustmentAmount)
aFormattedPotentialShipmodeAdjustmentAmount - the Max Allowable shipping adjustment amount.public FormattedMonetaryAmountDataBean getFormattedPotentialShipModeAdjustmentAmount()
getFormattedPotentialShipModeAdjustmentAmount in interface ShippingAdjustmentCommandDataBeanpublic void setMaxPercentageOff(java.math.BigDecimal aMaxPercentageOff)
aMaxPercentageOff - the Max Allowable shipping adjustment percentage value.public java.math.BigDecimal getMaxPercentageOff()
getMaxPercentageOff in interface ShippingAdjustmentCommandDataBean