Class CPQItemSalesDoc

    • Constructor Detail

      • CPQItemSalesDoc

        public CPQItemSalesDoc()
    • Method Detail

      • getProductConfiguration

        public ConfigModel getProductConfiguration()
        Description copied from interface: CPQItem
        Return product configuration representation
        Specified by:
        getProductConfiguration in interface CPQItem
        Returns:
        the productConfiguration
      • setProductConfiguration

        public void setProductConfiguration​(ConfigModel productConfiguration)
        Description copied from interface: CPQItem
        Sets product configuration
        Specified by:
        setProductConfiguration in interface CPQItem
        Parameters:
        productConfiguration - the productConfiguration to set
      • isProductConfigurationDirty

        public boolean isProductConfigurationDirty()
        Description copied from interface: CPQItem
        Do we need to send the product configuration to the back end?
        Specified by:
        isProductConfigurationDirty in interface CPQItem
        Returns:
        the productConfigurationDirty
      • setProductConfigurationDirty

        public void setProductConfigurationDirty​(boolean productConfigurationDirty)
        Description copied from interface: CPQItem
        States that the configuration is dirty, i.e. needs to be sent to the backend
        Specified by:
        setProductConfigurationDirty in interface CPQItem
        Parameters:
        productConfigurationDirty - the productConfigurationDirty to set
      • setExternalConfiguration

        public void setExternalConfiguration​(Configuration externalConfiguration)
        Description copied from interface: CPQItem
        Sets external representation of configuration
        Specified by:
        setExternalConfiguration in interface CPQItem
        Parameters:
        externalConfiguration - the externalConfiguration to set
      • getKbDate

        public java.util.Date getKbDate()
        Specified by:
        getKbDate in interface CPQItem
        Returns:
        the kbDate
      • setKbDate

        public void setKbDate​(java.util.Date kbDate)
        Specified by:
        setKbDate in interface CPQItem
        Parameters:
        kbDate - the kbDate to set
      • equals

        public boolean equals​(java.lang.Object object)
        Check if the given object is equals to this instance.
        Overrides:
        equals in class ItemSalesDoc
        Parameters:
        object - The object to check
        Returns:
        TRUE if it equals or FALSE if not
      • hashCode

        public int hashCode()
        Calculate the hashCode for the current instance.
        Overrides:
        hashCode in class ItemSalesDoc
        Returns:
        The hashCode value