Class GeneratedB2bpunchoutManager

    • Field Detail

      • DEFAULT_INITIAL_ATTRIBUTES

        protected static final java.util.Map<java.lang.String,​java.util.Map<java.lang.String,​Item.AttributeMode>> DEFAULT_INITIAL_ATTRIBUTES
    • Constructor Detail

      • GeneratedB2bpunchoutManager

        public GeneratedB2bpunchoutManager()
    • Method Detail

      • createPunchOutCredential

        public PunchOutCredential createPunchOutCredential​(java.util.Map attributeValues)
      • createStoredPunchOutSession

        public StoredPunchOutSession createStoredPunchOutSession​(java.util.Map attributeValues)
      • getName

        public java.lang.String getName()
        Specified by:
        getName in class Extension
      • isPunchOutOrder

        public java.lang.Boolean isPunchOutOrder​(SessionContext ctx,
                                                 AbstractOrder item)
        Generated method - Getter of the AbstractOrder.punchOutOrder attribute.
        Returns:
        the punchOutOrder - Signifies whether the order originates from a punch out process.
      • isPunchOutOrder

        public java.lang.Boolean isPunchOutOrder​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.punchOutOrder attribute.
        Returns:
        the punchOutOrder - Signifies whether the order originates from a punch out process.
      • isPunchOutOrderAsPrimitive

        public boolean isPunchOutOrderAsPrimitive​(SessionContext ctx,
                                                  AbstractOrder item)
        Generated method - Getter of the AbstractOrder.punchOutOrder attribute.
        Returns:
        the punchOutOrder - Signifies whether the order originates from a punch out process.
      • isPunchOutOrderAsPrimitive

        public boolean isPunchOutOrderAsPrimitive​(AbstractOrder item)
        Generated method - Getter of the AbstractOrder.punchOutOrder attribute.
        Returns:
        the punchOutOrder - Signifies whether the order originates from a punch out process.
      • setPunchOutOrder

        public void setPunchOutOrder​(SessionContext ctx,
                                     AbstractOrder item,
                                     java.lang.Boolean value)
        Generated method - Setter of the AbstractOrder.punchOutOrder attribute.
        Parameters:
        value - the punchOutOrder - Signifies whether the order originates from a punch out process.
      • setPunchOutOrder

        public void setPunchOutOrder​(AbstractOrder item,
                                     java.lang.Boolean value)
        Generated method - Setter of the AbstractOrder.punchOutOrder attribute.
        Parameters:
        value - the punchOutOrder - Signifies whether the order originates from a punch out process.
      • setPunchOutOrder

        public void setPunchOutOrder​(SessionContext ctx,
                                     AbstractOrder item,
                                     boolean value)
        Generated method - Setter of the AbstractOrder.punchOutOrder attribute.
        Parameters:
        value - the punchOutOrder - Signifies whether the order originates from a punch out process.
      • setPunchOutOrder

        public void setPunchOutOrder​(AbstractOrder item,
                                     boolean value)
        Generated method - Setter of the AbstractOrder.punchOutOrder attribute.
        Parameters:
        value - the punchOutOrder - Signifies whether the order originates from a punch out process.
      • getUnitOfMeasure

        public java.lang.String getUnitOfMeasure​(SessionContext ctx,
                                                 Product item)
        Generated method - Getter of the Product.unitOfMeasure attribute.
        Returns:
        the unitOfMeasure - UnitOfMeasure describes how the product is packaged or shipped. It must conform to UN/CEFACT Unit of Measure Common Codes. For a list of UN/CEFACT codes, see www.unetrades.net.
      • getUnitOfMeasure

        public java.lang.String getUnitOfMeasure​(Product item)
        Generated method - Getter of the Product.unitOfMeasure attribute.
        Returns:
        the unitOfMeasure - UnitOfMeasure describes how the product is packaged or shipped. It must conform to UN/CEFACT Unit of Measure Common Codes. For a list of UN/CEFACT codes, see www.unetrades.net.
      • setUnitOfMeasure

        public void setUnitOfMeasure​(SessionContext ctx,
                                     Product item,
                                     java.lang.String value)
        Generated method - Setter of the Product.unitOfMeasure attribute.
        Parameters:
        value - the unitOfMeasure - UnitOfMeasure describes how the product is packaged or shipped. It must conform to UN/CEFACT Unit of Measure Common Codes. For a list of UN/CEFACT codes, see www.unetrades.net.
      • setUnitOfMeasure

        public void setUnitOfMeasure​(Product item,
                                     java.lang.String value)
        Generated method - Setter of the Product.unitOfMeasure attribute.
        Parameters:
        value - the unitOfMeasure - UnitOfMeasure describes how the product is packaged or shipped. It must conform to UN/CEFACT Unit of Measure Common Codes. For a list of UN/CEFACT codes, see www.unetrades.net.
      • getUnspcs

        public java.lang.String getUnspcs​(SessionContext ctx,
                                          Product item)
        Generated method - Getter of the Product.unspcs attribute.
        Returns:
        the unspcs - Classification specifies the commodity grouping of the line item to the buyer. All the supplier's products and services must be mapped and standardized to the UNSPSC schema. For PunchOut index catalogs, the Classification determines the location of the PunchOut item within catalogs displayed to users. For a list of UNSPSC codes, see www.unspsc.org.
      • getUnspcs

        public java.lang.String getUnspcs​(Product item)
        Generated method - Getter of the Product.unspcs attribute.
        Returns:
        the unspcs - Classification specifies the commodity grouping of the line item to the buyer. All the supplier's products and services must be mapped and standardized to the UNSPSC schema. For PunchOut index catalogs, the Classification determines the location of the PunchOut item within catalogs displayed to users. For a list of UNSPSC codes, see www.unspsc.org.
      • setUnspcs

        public void setUnspcs​(SessionContext ctx,
                              Product item,
                              java.lang.String value)
        Generated method - Setter of the Product.unspcs attribute.
        Parameters:
        value - the unspcs - Classification specifies the commodity grouping of the line item to the buyer. All the supplier's products and services must be mapped and standardized to the UNSPSC schema. For PunchOut index catalogs, the Classification determines the location of the PunchOut item within catalogs displayed to users. For a list of UNSPSC codes, see www.unspsc.org.
      • setUnspcs

        public void setUnspcs​(Product item,
                              java.lang.String value)
        Generated method - Setter of the Product.unspcs attribute.
        Parameters:
        value - the unspcs - Classification specifies the commodity grouping of the line item to the buyer. All the supplier's products and services must be mapped and standardized to the UNSPSC schema. For PunchOut index catalogs, the Classification determines the location of the PunchOut item within catalogs displayed to users. For a list of UNSPSC codes, see www.unspsc.org.