com.ibm.commerce.price.beans

Interface FormattedMonetaryAmountInputDataBean

    • 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.math.BigDecimal newAmount)
      Sets the value of the monetary amount.
      void setCurrency(java.lang.String newCurrency)
      Sets the monetary currency.
      • Methods inherited from interface com.ibm.commerce.beans.InputDataBean

        getRequestProperties, setRequestProperties
    • Method Detail

      • setAmount

        void setAmount(java.math.BigDecimal newAmount)
        Sets the value of the monetary amount. If this method is not called, zero is assumed.
        Parameters:
        newAmount - monetary value.
      • setCurrency

        void setCurrency(java.lang.String newCurrency)
        Sets the monetary currency. If this method is not called then the currency is retrieved from the command context.
        Parameters:
        newCurrency - monetary currency.