com.ibm.commerce.order.utils

Class ShipChargeTCPolicyData

  • java.lang.Object
    • com.ibm.commerce.order.utils.ShipChargeTCPolicyData
  • All Implemented Interfaces:
    java.lang.Cloneable


    public class ShipChargeTCPolicyData
    extends java.lang.Object
    implements java.lang.Cloneable
    Is used by a data bean to store data related to charge type information in the SHIPINFO table for a particular order item.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
    • Constructor Summary

      Constructors 
      Constructor and Description
      ShipChargeTCPolicyData()
      ShipChargeTCPolicyData constructor .
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.Object clone()
      This object can be cloned
      java.lang.String getCarrAccntNumber()
      Gets the shipping carrier account number
      java.lang.String getInternalPolicyId()
      Gets the internal policy ID number
      java.lang.String getPolicyDescription()
      Gets the policy description
      java.lang.String getPolicyId()
      Gets the policy ID
      java.lang.String getPolicyName()
      Gets the ship mode ID
      boolean isSelected()
      Gets the selected indicator
      void setCarrAccntNumber(java.lang.String aCarrierAccntNum)
      Sets the carrier account number
      void setInternalPolicyId(java.lang.String internalPolId)
      Sets the actual policy ID number
      void setPolicyDescription(java.lang.String apolicyDescription)
      Sets the policy description
      void setPolicyId(java.lang.String aPolicyId)
      Sets the policy ID
      void setPolicyName(java.lang.String aPolicyName)
      Sets the policy name
      void setSelected(boolean aSelected)
      Sets the flag to indicate if this is the option the GUI should have as selected in the drop down
      java.lang.String toString()
      returns class attributes for debugging
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • COPYRIGHT

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

      • ShipChargeTCPolicyData

        public ShipChargeTCPolicyData()
        ShipChargeTCPolicyData constructor .
    • Method Detail

      • setPolicyId

        public void setPolicyId(java.lang.String aPolicyId)
        Sets the policy ID
        Parameters:
        aPolicyId - String policy ID
      • setPolicyName

        public void setPolicyName(java.lang.String aPolicyName)
        Sets the policy name
        Parameters:
        aPolicyName - String policy name
      • setPolicyDescription

        public void setPolicyDescription(java.lang.String apolicyDescription)
        Sets the policy description
        Parameters:
        apolicyDescription - String policy description
      • setCarrAccntNumber

        public void setCarrAccntNumber(java.lang.String aCarrierAccntNum)
        Sets the carrier account number
        Parameters:
        aCarrierAccntNum - String carrier account number
      • setSelected

        public void setSelected(boolean aSelected)
        Sets the flag to indicate if this is the option the GUI should have as selected in the drop down
        Parameters:
        aSelected - String aSelected or not
      • getPolicyId

        public java.lang.String getPolicyId()
        Gets the policy ID
        Returns:
        String policy ID
      • getPolicyName

        public java.lang.String getPolicyName()
        Gets the ship mode ID
        Returns:
        String ship mode
      • getPolicyDescription

        public java.lang.String getPolicyDescription()
        Gets the policy description
        Returns:
        String policy description
      • getCarrAccntNumber

        public java.lang.String getCarrAccntNumber()
        Gets the shipping carrier account number
        Returns:
        String carrier account number
      • isSelected

        public boolean isSelected()
        Gets the selected indicator
        Returns:
        String selected or not
      • clone

        public java.lang.Object clone()
                               throws java.lang.CloneNotSupportedException
        This object can be cloned
        Overrides:
        clone in class java.lang.Object
        Returns:
        Object The cloned object
        Throws:
        java.lang.CloneNotSupportedException
      • setInternalPolicyId

        public void setInternalPolicyId(java.lang.String internalPolId)
        Sets the actual policy ID number
        Parameters:
        internalPolId - String internalPolId
      • getInternalPolicyId

        public java.lang.String getInternalPolicyId()
        Gets the internal policy ID number
        Returns:
        String internalPolicyid
      • toString

        public java.lang.String toString()
        returns class attributes for debugging
        Overrides:
        toString in class java.lang.Object
        Returns:
        a single string with new line formatting that contains the class attributes