com.ibm.commerce.me.datatype

Class ShippingInfo

  • java.lang.Object
    • com.ibm.commerce.me.datatype.ShippingInfo
  • All Implemented Interfaces:
    java.io.Serializable


    public class ShippingInfo
    extends java.lang.Object
    implements java.io.Serializable
    Stores shipping information such as charge, currency, description, shipping company, tracking ID.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM Copyright field
    • Constructor Summary

      Constructors 
      Constructor and Description
      ShippingInfo()
      The ShippingInfo default constructor calls its parents constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.math.BigDecimal getCharge()
      This method gets the shipping charge.
      java.lang.String getCurrency()
      This method gets the shipping charge currency.
      java.lang.String getDescription()
      This method gets the shipping information description.
      java.lang.String getShippingCompany()
      This method gets the name of the shipping company.
      java.lang.String getTrackingId()
      This method gets the tracking ID.
      void setCharge(java.math.BigDecimal newCharge)
      This method sets the shipping charge.
      void setCurrency(java.lang.String newCurrency)
      This method sets the shipping charge currency.
      void setDescription(java.lang.String newDescription)
      This method sets the description.
      void setShippingCompany(java.lang.String newShippingCompany)
      This method sets the name of the shipping company.
      void setTrackingId(java.lang.String newTrackingId)
      This method sets the tracking ID.
      • Methods inherited from class java.lang.Object

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

      • COPYRIGHT

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

      • ShippingInfo

        public ShippingInfo()
        The ShippingInfo default constructor calls its parents constructor.
    • Method Detail

      • getCharge

        public java.math.BigDecimal getCharge()
        This method gets the shipping charge.
        Returns:
        the amount of shipping charge
      • getCurrency

        public java.lang.String getCurrency()
        This method gets the shipping charge currency.
        Returns:
        the currency used for the shipping charge
      • getDescription

        public java.lang.String getDescription()
        This method gets the shipping information description.
        Returns:
        the description of shipping information
      • getShippingCompany

        public java.lang.String getShippingCompany()
        This method gets the name of the shipping company.
        Returns:
        the name of shipping company
      • getTrackingId

        public java.lang.String getTrackingId()
        This method gets the tracking ID.
        Returns:
        the tracking ID
      • setCharge

        public void setCharge(java.math.BigDecimal newCharge)
        This method sets the shipping charge.
        Parameters:
        newCharge - the new shipping charge
      • setCurrency

        public void setCurrency(java.lang.String newCurrency)
        This method sets the shipping charge currency.
        Parameters:
        newCurrency - the currency used for the charge
      • setDescription

        public void setDescription(java.lang.String newDescription)
        This method sets the description.
        Parameters:
        newDescription - the new shipping information description
      • setShippingCompany

        public void setShippingCompany(java.lang.String newShippingCompany)
        This method sets the name of the shipping company.
        Parameters:
        newShippingCompany - the name of shipping company
      • setTrackingId

        public void setTrackingId(java.lang.String newTrackingId)
        This method sets the tracking ID.
        Parameters:
        newTrackingId - the new tracking ID