com.ibm.commerce.foundation.common.datatypes

Interface UnitPriceType



  • public interface UnitPriceType
    A representation of the model object 'Unit Price Type'. The type definition of a unit price.

    The following features are supported:

    See Also:
    CommerceFoundationPackage.getUnitPriceType()
    • Method Detail

      • getPrice

        MonetaryAmountType getPrice()
        Returns the value of the 'Price' containment reference. The unit price in default currency.
        Returns:
        the value of the 'Price' containment reference.
        See Also:
        setPrice(MonetaryAmountType), CommerceFoundationPackage.getUnitPriceType_Price()
      • setPrice

        void setPrice(MonetaryAmountType value)
        Sets the value of the 'Price' containment reference.
        Parameters:
        value - the new value of the 'Price' containment reference.
        See Also:
        getPrice()
      • getAlternativeCurrencyPrice

        java.util.List getAlternativeCurrencyPrice()
        Returns the value of the 'Alternative Currency Price' containment reference list. The list contents are of type MonetaryAmountType. The unit price in other currencies.
        Returns:
        the value of the 'Alternative Currency Price' containment reference list.
        See Also:
        CommerceFoundationPackage.getUnitPriceType_AlternativeCurrencyPrice()
      • getQuantity

        QuantityType getQuantity()
        Returns the value of the 'Quantity' containment reference. The quantity of a unit.
        Returns:
        the value of the 'Quantity' containment reference.
        See Also:
        setQuantity(QuantityType), CommerceFoundationPackage.getUnitPriceType_Quantity()
      • setQuantity

        void setQuantity(QuantityType value)
        Sets the value of the 'Quantity' containment reference.
        Parameters:
        value - the new value of the 'Quantity' containment reference.
        See Also:
        getQuantity()