com.ibm.commerce.price.beans

Interface FormattedQuantityAmountInputDataBean

  • All Superinterfaces:
    com.ibm.commerce.beans.DataBean, com.ibm.commerce.beans.InputDataBean, java.io.Serializable
    All Known Implementing Classes:
    FormattedQuantityAmountDataBean


    public interface FormattedQuantityAmountInputDataBean
    extends com.ibm.commerce.beans.InputDataBean
    This interface extends SmartDataBean to provide an interface for the FormattedQuantityAmountDataBean.
    • Field Summary

      • Fields inherited from interface com.ibm.commerce.beans.InputDataBean

        COPYRIGHT
      • Fields inherited from interface com.ibm.commerce.beans.DataBean

        emptyString
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void setAmount(java.lang.Double newAmount)
      Sets the value of the quantity amount.
      void setUnit(java.lang.String newUnit)
      Sets the quantity unit.
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Method Detail

      • setAmount

        void setAmount(java.lang.Double newAmount)
        Sets the value of the quantity amount. If this method is not called, zero is assumed.
        Parameters:
        newAmount - quantity value.
      • setUnit

        void setUnit(java.lang.String newUnit)
        Sets the quantity unit. If this method is not called then the unit is assumed to be C62.
        Parameters:
        newUnit - quantity unit.