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.
|
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)
public java.lang.String getOrderId()
public void setShippingAdjustmentDataBeans(ShippingAdjustmentDataBean[] aShippingAdjustmentDataBeans)
public ShippingAdjustmentDataBean[] getShippingAdjustmentDataBeans()
public void setShipModeId(java.lang.String aShipModeId)
public java.lang.String getShipModeId()
public void setServiceRepresentative(MemberDataBean aServiceRepresentative)
public MemberDataBean getServiceRepresentative()
public TypedProperty getRequestProperties()
public void setRequestProperties(TypedProperty aRequestProperties)
public void setCommandInterfaceName(java.lang.String aCommandInterface)
public java.lang.String getCommandInterfaceName()
public Protectable getDelegate()
public java.lang.Long getOwner()
public boolean fulfills(java.lang.Long member, java.lang.String relationship)
public void setFormattedAdjustableBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableBaseShipModeTotalAmount)
public FormattedMonetaryAmountDataBean getFormattedAdjustableBaseShipModeTotalAmount()
public void setFormattedAdjustableTSRBaseShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedAdjustableTSRBaseShipModeTotalAmount)
public FormattedMonetaryAmountDataBean getFormattedAdjustableTSRBaseShipModeTotalAmount()
public void setFormattedCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeTotalAmount)
public FormattedMonetaryAmountDataBean getFormattedCurrentShipModeTotalAmount()
public void setFormattedUnadjustableCurrentShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedUnadjustableCurrentShipModeTotalAmount)
public FormattedMonetaryAmountDataBean getFormattedUnadjustableCurrentShipModeTotalAmount()
public void setFormattedCurrentShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedCurrentShipModeAdjustmentAmount)
public FormattedMonetaryAmountDataBean getFormattedCurrentShipModeAdjustmentAmount()
public void setCurrentShipModePercentageOff(java.math.BigDecimal aCurrentShipModePercentageOff)
public java.math.BigDecimal getCurrentShipModePercentageOff()
public void setFormattedPotentialShipModeTotalAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeTotalAmount)
public FormattedMonetaryAmountDataBean getFormattedPotentialShipModeTotalAmount()
public void setFormattedPotentialShipModeAdjustmentAmount(FormattedMonetaryAmountDataBean aFormattedPotentialShipmodeAdjustmentAmount)
public FormattedMonetaryAmountDataBean getFormattedPotentialShipModeAdjustmentAmount()
public void setMaxPercentageOff(java.math.BigDecimal aMaxPercentageOff)
public java.math.BigDecimal getMaxPercentageOff()