com.ibm.commerce.foundation.common.datatypes

Interface MonetaryAmountType

  • All Known Subinterfaces:
    GenericTotalType, TaxByTaxCategoryType


    public interface MonetaryAmountType
    A representation of the model object 'Monetary Amount Type'. The type definition of a monetary amount.

    The following features are supported:

    See Also:
    CommerceFoundationPackage.getMonetaryAmountType()
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getCurrency()
      Returns the value of the 'Currency' attribute.
      java.math.BigDecimal getValue()
      Returns the value of the 'Value' attribute.
      void setCurrency(java.lang.String value)
      Sets the value of the 'Currency' attribute.
      void setValue(java.math.BigDecimal value)
      Sets the value of the 'Value' attribute.
    • Method Detail

      • getValue

        java.math.BigDecimal getValue()
        Returns the value of the 'Value' attribute. The value.
        Returns:
        the value of the 'Value' attribute.
        See Also:
        setValue(BigDecimal), CommerceFoundationPackage.getMonetaryAmountType_Value()
      • setValue

        void setValue(java.math.BigDecimal value)
        Sets the value of the 'Value' attribute.
        Parameters:
        value - the new value of the 'Value' attribute.
        See Also:
        getValue()
      • getCurrency

        java.lang.String getCurrency()
        Returns the value of the 'Currency' attribute. The currency.
        Returns:
        the value of the 'Currency' attribute.
        See Also:
        setCurrency(String), CommerceFoundationPackage.getMonetaryAmountType_Currency()
      • setCurrency

        void setCurrency(java.lang.String value)
        Sets the value of the 'Currency' attribute.
        Parameters:
        value - the new value of the 'Currency' attribute.
        See Also:
        getCurrency()