com.ibm.configurator.pricing.adapter

Interface AdditionalLinePrice

  • All Known Implementing Classes:
    DefaultAdditionalLinePrice


    public interface AdditionalLinePrice
    An interface to the Additional line price information that is associated to an item.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object clone()
      Returns a clone of the object
      java.lang.Double getPrice()
      Returns the price value for this price type
      java.lang.String getPriceTypeName()
      Return the price type name
      java.lang.String getReccurringType()
      Returns the recurring type value of this price type
      boolean isPriceForInfo()
      Returns if this price type is for informational purpose
      boolean isPriceLocked()
      Returns true if the price for this price type is price locked, else false
      void setPrice(java.lang.Double price)
      Sets the price value for this price type
      void setPriceForInfo(boolean priceForInfo)
      Sets whether the price type is for informational purpose
      void setPriceLocked(boolean priceLocked)
      Sets the price locked flag for this price type
      void setPriceTypeName(java.lang.String priceTypeName)
      Sets the price type name
      void setReccurringType(java.lang.String reccurringType)
      Sets the recurring type value for the price type
    • Method Detail

      • getPriceTypeName

        java.lang.String getPriceTypeName()
        Return the price type name
        Returns:
        The price type name
      • setPriceTypeName

        void setPriceTypeName(java.lang.String priceTypeName)
        Sets the price type name
        Parameters:
        priceTypeName - The price type name
      • isPriceLocked

        boolean isPriceLocked()
        Returns true if the price for this price type is price locked, else false
        Returns:
        true if the price for this price type is price locked, else false
      • setPriceLocked

        void setPriceLocked(boolean priceLocked)
        Sets the price locked flag for this price type
        Parameters:
        priceLocked - The price locked flag for this price type
      • getReccurringType

        java.lang.String getReccurringType()
        Returns the recurring type value of this price type
        Returns:
        The recurring type value of this price type
      • setReccurringType

        void setReccurringType(java.lang.String reccurringType)
        Sets the recurring type value for the price type
        Parameters:
        reccurringType - The recurring type value for the price type
      • isPriceForInfo

        boolean isPriceForInfo()
        Returns if this price type is for informational purpose
        Returns:
        if this price type is for informational purpose
      • setPriceForInfo

        void setPriceForInfo(boolean priceForInfo)
        Sets whether the price type is for informational purpose
        Parameters:
        priceForInfo - A boolean value to indicate whether the price type is for informational purpose
      • getPrice

        java.lang.Double getPrice()
        Returns the price value for this price type
        Returns:
        The price value for this price type
      • setPrice

        void setPrice(java.lang.Double price)
        Sets the price value for this price type
        Parameters:
        price - The price value for this price type
      • clone

        java.lang.Object clone()
        Returns a clone of the object
        Returns:
        The clone of the object