com.ibm.commerce.order.beans

Class SubOrderAdjustmentDataBean

  • All Implemented Interfaces:
    DataBean, InputDataBean, SmartDataBean, com.ibm.commerce.order.beans.SubOrderAdjustmentInputDataBean, com.ibm.commerce.order.beans.SubOrderAdjustmentSmartDataBean, Delegator, java.io.Serializable


    public class SubOrderAdjustmentDataBean
    extends SubOrderAdjustmentDataBeanBase
    implements com.ibm.commerce.order.beans.SubOrderAdjustmentInputDataBean, com.ibm.commerce.order.beans.SubOrderAdjustmentSmartDataBean
    This databean represents a SubOrderAdjustment object.
    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        The IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • SubOrderAdjustmentDataBean

        public SubOrderAdjustmentDataBean()
    • Method Detail

      • getRequestProperties

        public TypedProperty getRequestProperties()
        This method returns the request property set within this bean.
        Specified by:
        getRequestProperties in interface InputDataBean
        Returns:
        com.ibm.commerce.datatype.TypedProperty
      • setRequestProperties

        public void setRequestProperties(TypedProperty aRequestProperty)
        This method sets the request property within this bean.
        Specified by:
        setRequestProperties in interface InputDataBean
        Parameters:
        aRequestProperty - TypedProperty
      • getDataBeanKeySubOrderId

        public java.lang.String getDataBeanKeySubOrderId()
        This method returns SubOrderId.
        Specified by:
        getDataBeanKeySubOrderId in interface com.ibm.commerce.order.beans.SubOrderAdjustmentSmartDataBean
        Returns:
        java.lang.String
      • getDataBeanKeyOrderAdjustmentId

        public java.lang.String getDataBeanKeyOrderAdjustmentId()
        This method returns OrderAdjustmentId.
        Specified by:
        getDataBeanKeyOrderAdjustmentId in interface com.ibm.commerce.order.beans.SubOrderAdjustmentSmartDataBean
        Returns:
        java.lang.String
      • getCommandContext

        public CommandContext getCommandContext()
        This method returns the command context set within this bean.
        Specified by:
        getCommandContext in interface SmartDataBean
        Returns:
        com.ibm.commerce.command.CommandContext
      • setCommandContext

        public void setCommandContext(CommandContext aCommandContext)
        This method sets the command context within this bean.
        Specified by:
        setCommandContext in interface SmartDataBean
        Parameters:
        aCommandContext - com.ibm.commerce.command.CommandContext
      • setDataBeanKeySubOrderId

        public void setDataBeanKeySubOrderId(java.lang.String aSubOrderId)
        This method sets SubOrderId.
        Specified by:
        setDataBeanKeySubOrderId in interface com.ibm.commerce.order.beans.SubOrderAdjustmentInputDataBean
        Parameters:
        aSubOrderId - java.lang.String
      • setDataBeanKeyOrderAdjustmentId

        public void setDataBeanKeyOrderAdjustmentId(java.lang.String aOrderAdjustmentId)
        This method sets OrderAdjustmentId.
        Specified by:
        setDataBeanKeyOrderAdjustmentId in interface com.ibm.commerce.order.beans.SubOrderAdjustmentInputDataBean
        Parameters:
        aOrderAdjustmentId - java.lang.String
      • populate

        public void populate()
        This method is used to populate the SubOrderAdjustmentDataBean. You must set the following parameters before running the populate() method.
      • OrderAdjustmentId
      • SubOrderId
Specified by:
populate in interface SmartDataBean
Throws:
java.lang.Exception
See Also:
setDataBeanKeyOrderAdjustmentId(String), setDataBeanKeySubOrderId(String)