All Implemented Interfaces:
BackendAware, BusinessObject, MessageListHolder, StatusObject, Item, ItemBase, SimpleItem, CPQItem, Serializable, Cloneable, Comparable<SimpleItem>

public class CPQItemSalesDoc extends ItemSalesDoc implements CPQItem
Represents the backend's view of the configurable items of a shopping basket.
See Also:
  • Constructor Details

    • CPQItemSalesDoc

      public CPQItemSalesDoc()
  • Method Details

    • getProductConfiguration

      public de.hybris.platform.sap.productconfig.runtime.interf.model.ConfigModel getProductConfiguration()
      Description copied from interface: CPQItem
      Return product configuration representation
      Specified by:
      getProductConfiguration in interface CPQItem
      Returns:
      the productConfiguration
    • setProductConfiguration

      public void setProductConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.model.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
    • getExternalConfiguration

      public de.hybris.platform.sap.productconfig.runtime.interf.external.Configuration getExternalConfiguration()
      Specified by:
      getExternalConfiguration in interface CPQItem
      Returns:
      the externalConfiguration
    • setExternalConfiguration

      public void setExternalConfiguration(de.hybris.platform.sap.productconfig.runtime.interf.external.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 Date getKbDate()
      Specified by:
      getKbDate in interface CPQItem
      Returns:
      the kbDate
    • setKbDate

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

      public boolean equals(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