Class GeneratedSapquoteintegrationManager

    • 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

      • GeneratedSapquoteintegrationManager

        public GeneratedSapquoteintegrationManager()
    • Method Detail

      • getCommentAuthorEmail

        public java.lang.String getCommentAuthorEmail​(SessionContext ctx,
                                                      Comment item)
        Generated method - Getter of the Comment.commentAuthorEmail attribute.
        Returns:
        the commentAuthorEmail - Temporary placeholder to map Author of comments
      • getCommentAuthorEmail

        public java.lang.String getCommentAuthorEmail​(Comment item)
        Generated method - Getter of the Comment.commentAuthorEmail attribute.
        Returns:
        the commentAuthorEmail - Temporary placeholder to map Author of comments
      • setCommentAuthorEmail

        public void setCommentAuthorEmail​(SessionContext ctx,
                                          Comment item,
                                          java.lang.String value)
        Generated method - Setter of the Comment.commentAuthorEmail attribute.
        Parameters:
        value - the commentAuthorEmail - Temporary placeholder to map Author of comments
      • setCommentAuthorEmail

        public void setCommentAuthorEmail​(Comment item,
                                          java.lang.String value)
        Generated method - Setter of the Comment.commentAuthorEmail attribute.
        Parameters:
        value - the commentAuthorEmail - Temporary placeholder to map Author of comments
      • createSAPCpiOutboundQuote

        public SAPCpiOutboundQuote createSAPCpiOutboundQuote​(java.util.Map attributeValues)
      • createSAPCpiOutboundQuoteComment

        public SAPCpiOutboundQuoteComment createSAPCpiOutboundQuoteComment​(java.util.Map attributeValues)
      • createSAPCpiOutboundQuoteCustomer

        public SAPCpiOutboundQuoteCustomer createSAPCpiOutboundQuoteCustomer​(java.util.Map attributeValues)
      • createSAPCpiOutboundQuoteItem

        public SAPCpiOutboundQuoteItem createSAPCpiOutboundQuoteItem​(java.util.Map attributeValues)
      • createSAPCpiOutboundQuoteStatus

        public SAPCpiOutboundQuoteStatus createSAPCpiOutboundQuoteStatus​(java.util.Map attributeValues)
      • getDistributionChannel

        public java.lang.String getDistributionChannel​(SessionContext ctx,
                                                       Quote item)
        Generated method - Getter of the Quote.distributionChannel attribute.
        Returns:
        the distributionChannel - Distribution Channel
      • getDistributionChannel

        public java.lang.String getDistributionChannel​(Quote item)
        Generated method - Getter of the Quote.distributionChannel attribute.
        Returns:
        the distributionChannel - Distribution Channel
      • setDistributionChannel

        public void setDistributionChannel​(SessionContext ctx,
                                           Quote item,
                                           java.lang.String value)
        Generated method - Setter of the Quote.distributionChannel attribute.
        Parameters:
        value - the distributionChannel - Distribution Channel
      • setDistributionChannel

        public void setDistributionChannel​(Quote item,
                                           java.lang.String value)
        Generated method - Setter of the Quote.distributionChannel attribute.
        Parameters:
        value - the distributionChannel - Distribution Channel
      • getDivision

        public java.lang.String getDivision​(SessionContext ctx,
                                            Quote item)
        Generated method - Getter of the Quote.division attribute.
        Returns:
        the division - Division
      • getDivision

        public java.lang.String getDivision​(Quote item)
        Generated method - Getter of the Quote.division attribute.
        Returns:
        the division - Division
      • setDivision

        public void setDivision​(SessionContext ctx,
                                Quote item,
                                java.lang.String value)
        Generated method - Setter of the Quote.division attribute.
        Parameters:
        value - the division - Division
      • setDivision

        public void setDivision​(Quote item,
                                java.lang.String value)
        Generated method - Setter of the Quote.division attribute.
        Parameters:
        value - the division - Division
      • getEntryDiscount

        public java.lang.Double getEntryDiscount​(SessionContext ctx,
                                                 QuoteEntry item)
        Generated method - Getter of the QuoteEntry.entryDiscount attribute.
        Returns:
        the entryDiscount
      • getEntryDiscount

        public java.lang.Double getEntryDiscount​(QuoteEntry item)
        Generated method - Getter of the QuoteEntry.entryDiscount attribute.
        Returns:
        the entryDiscount
      • getEntryDiscountAsPrimitive

        public double getEntryDiscountAsPrimitive​(SessionContext ctx,
                                                  QuoteEntry item)
        Generated method - Getter of the QuoteEntry.entryDiscount attribute.
        Returns:
        the entryDiscount
      • getEntryDiscountAsPrimitive

        public double getEntryDiscountAsPrimitive​(QuoteEntry item)
        Generated method - Getter of the QuoteEntry.entryDiscount attribute.
        Returns:
        the entryDiscount
      • setEntryDiscount

        public void setEntryDiscount​(SessionContext ctx,
                                     QuoteEntry item,
                                     java.lang.Double value)
        Generated method - Setter of the QuoteEntry.entryDiscount attribute.
        Parameters:
        value - the entryDiscount
      • setEntryDiscount

        public void setEntryDiscount​(QuoteEntry item,
                                     java.lang.Double value)
        Generated method - Setter of the QuoteEntry.entryDiscount attribute.
        Parameters:
        value - the entryDiscount
      • setEntryDiscount

        public void setEntryDiscount​(SessionContext ctx,
                                     QuoteEntry item,
                                     double value)
        Generated method - Setter of the QuoteEntry.entryDiscount attribute.
        Parameters:
        value - the entryDiscount
      • setEntryDiscount

        public void setEntryDiscount​(QuoteEntry item,
                                     double value)
        Generated method - Setter of the QuoteEntry.entryDiscount attribute.
        Parameters:
        value - the entryDiscount
      • getEntryDiscountInternal

        public java.lang.String getEntryDiscountInternal​(SessionContext ctx,
                                                         AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.entryDiscountInternal attribute.
        Returns:
        the entryDiscountInternal - Field to hold discount value and populate discount value during cart calculations
      • getEntryDiscountInternal

        public java.lang.String getEntryDiscountInternal​(AbstractOrderEntry item)
        Generated method - Getter of the AbstractOrderEntry.entryDiscountInternal attribute.
        Returns:
        the entryDiscountInternal - Field to hold discount value and populate discount value during cart calculations
      • setEntryDiscountInternal

        public void setEntryDiscountInternal​(SessionContext ctx,
                                             AbstractOrderEntry item,
                                             java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.entryDiscountInternal attribute.
        Parameters:
        value - the entryDiscountInternal - Field to hold discount value and populate discount value during cart calculations
      • setEntryDiscountInternal

        public void setEntryDiscountInternal​(AbstractOrderEntry item,
                                             java.lang.String value)
        Generated method - Setter of the AbstractOrderEntry.entryDiscountInternal attribute.
        Parameters:
        value - the entryDiscountInternal - Field to hold discount value and populate discount value during cart calculations
      • getExternalComments

        public java.lang.String getExternalComments​(SessionContext ctx,
                                                    Quote item)
        Generated method - Getter of the Quote.externalComments attribute.
        Returns:
        the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • getExternalComments

        public java.lang.String getExternalComments​(Quote item)
        Generated method - Getter of the Quote.externalComments attribute.
        Returns:
        the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • setExternalComments

        public void setExternalComments​(SessionContext ctx,
                                        Quote item,
                                        java.lang.String value)
        Generated method - Setter of the Quote.externalComments attribute.
        Parameters:
        value - the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • setExternalComments

        public void setExternalComments​(Quote item,
                                        java.lang.String value)
        Generated method - Setter of the Quote.externalComments attribute.
        Parameters:
        value - the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • getExternalGlobalDiscounts

        public java.util.List<java.lang.String> getExternalGlobalDiscounts​(SessionContext ctx,
                                                                           Quote item)
        Generated method - Getter of the Quote.externalGlobalDiscounts attribute.
        Returns:
        the externalGlobalDiscounts - Header level discounts collection
      • getExternalGlobalDiscounts

        public java.util.List<java.lang.String> getExternalGlobalDiscounts​(Quote item)
        Generated method - Getter of the Quote.externalGlobalDiscounts attribute.
        Returns:
        the externalGlobalDiscounts - Header level discounts collection
      • setExternalGlobalDiscounts

        public void setExternalGlobalDiscounts​(SessionContext ctx,
                                               Quote item,
                                               java.util.List<java.lang.String> value)
        Generated method - Setter of the Quote.externalGlobalDiscounts attribute.
        Parameters:
        value - the externalGlobalDiscounts - Header level discounts collection
      • setExternalGlobalDiscounts

        public void setExternalGlobalDiscounts​(Quote item,
                                               java.util.List<java.lang.String> value)
        Generated method - Setter of the Quote.externalGlobalDiscounts attribute.
        Parameters:
        value - the externalGlobalDiscounts - Header level discounts collection
      • getExternalQuoteDocument

        public java.lang.String getExternalQuoteDocument​(SessionContext ctx,
                                                         Quote item)
        Generated method - Getter of the Quote.externalQuoteDocument attribute.
        Returns:
        the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • getExternalQuoteDocument

        public java.lang.String getExternalQuoteDocument​(Quote item)
        Generated method - Getter of the Quote.externalQuoteDocument attribute.
        Returns:
        the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • setExternalQuoteDocument

        public void setExternalQuoteDocument​(SessionContext ctx,
                                             Quote item,
                                             java.lang.String value)
        Generated method - Setter of the Quote.externalQuoteDocument attribute.
        Parameters:
        value - the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • setExternalQuoteDocument

        public void setExternalQuoteDocument​(Quote item,
                                             java.lang.String value)
        Generated method - Setter of the Quote.externalQuoteDocument attribute.
        Parameters:
        value - the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • getExternalQuoteEntryId

        public java.lang.String getExternalQuoteEntryId​(SessionContext ctx,
                                                        QuoteEntry item)
        Generated method - Getter of the QuoteEntry.externalQuoteEntryId attribute.
        Returns:
        the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • getExternalQuoteEntryId

        public java.lang.String getExternalQuoteEntryId​(QuoteEntry item)
        Generated method - Getter of the QuoteEntry.externalQuoteEntryId attribute.
        Returns:
        the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • setExternalQuoteEntryId

        public void setExternalQuoteEntryId​(SessionContext ctx,
                                            QuoteEntry item,
                                            java.lang.String value)
        Generated method - Setter of the QuoteEntry.externalQuoteEntryId attribute.
        Parameters:
        value - the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • setExternalQuoteEntryId

        public void setExternalQuoteEntryId​(QuoteEntry item,
                                            java.lang.String value)
        Generated method - Setter of the QuoteEntry.externalQuoteEntryId attribute.
        Parameters:
        value - the externalQuoteEntryId - Unique identifier of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • getExternalQuoteId

        public java.lang.String getExternalQuoteId​(SessionContext ctx,
                                                   Quote item)
        Generated method - Getter of the Quote.externalQuoteId attribute.
        Returns:
        the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • getExternalQuoteId

        public java.lang.String getExternalQuoteId​(Quote item)
        Generated method - Getter of the Quote.externalQuoteId attribute.
        Returns:
        the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • setExternalQuoteId

        public void setExternalQuoteId​(SessionContext ctx,
                                       Quote item,
                                       java.lang.String value)
        Generated method - Setter of the Quote.externalQuoteId attribute.
        Parameters:
        value - the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • setExternalQuoteId

        public void setExternalQuoteId​(Quote item,
                                       java.lang.String value)
        Generated method - Setter of the Quote.externalQuoteId attribute.
        Parameters:
        value - the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • getName

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

        public java.lang.Double getHeaderDiscount​(SessionContext ctx,
                                                  Quote item)
        Generated method - Getter of the Quote.headerDiscount attribute.
        Returns:
        the headerDiscount
      • getHeaderDiscount

        public java.lang.Double getHeaderDiscount​(Quote item)
        Generated method - Getter of the Quote.headerDiscount attribute.
        Returns:
        the headerDiscount
      • getHeaderDiscountAsPrimitive

        public double getHeaderDiscountAsPrimitive​(SessionContext ctx,
                                                   Quote item)
        Generated method - Getter of the Quote.headerDiscount attribute.
        Returns:
        the headerDiscount
      • getHeaderDiscountAsPrimitive

        public double getHeaderDiscountAsPrimitive​(Quote item)
        Generated method - Getter of the Quote.headerDiscount attribute.
        Returns:
        the headerDiscount
      • setHeaderDiscount

        public void setHeaderDiscount​(SessionContext ctx,
                                      Quote item,
                                      java.lang.Double value)
        Generated method - Setter of the Quote.headerDiscount attribute.
        Parameters:
        value - the headerDiscount
      • setHeaderDiscount

        public void setHeaderDiscount​(Quote item,
                                      java.lang.Double value)
        Generated method - Setter of the Quote.headerDiscount attribute.
        Parameters:
        value - the headerDiscount
      • setHeaderDiscount

        public void setHeaderDiscount​(SessionContext ctx,
                                      Quote item,
                                      double value)
        Generated method - Setter of the Quote.headerDiscount attribute.
        Parameters:
        value - the headerDiscount
      • setHeaderDiscount

        public void setHeaderDiscount​(Quote item,
                                      double value)
        Generated method - Setter of the Quote.headerDiscount attribute.
        Parameters:
        value - the headerDiscount
      • getItemId

        public java.lang.String getItemId​(SessionContext ctx,
                                          QuoteEntry item)
        Generated method - Getter of the QuoteEntry.itemId attribute.
        Returns:
        the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
      • getItemId

        public java.lang.String getItemId​(QuoteEntry item)
        Generated method - Getter of the QuoteEntry.itemId attribute.
        Returns:
        the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
      • setItemId

        public void setItemId​(SessionContext ctx,
                              QuoteEntry item,
                              java.lang.String value)
        Generated method - Setter of the QuoteEntry.itemId attribute.
        Parameters:
        value - the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
      • setItemId

        public void setItemId​(QuoteEntry item,
                              java.lang.String value)
        Generated method - Setter of the QuoteEntry.itemId attribute.
        Parameters:
        value - the itemId - Unique identifier of Product. Used to map this Quote Entry to a specific product in Commerce
      • getOrderCode

        public java.lang.String getOrderCode​(SessionContext ctx,
                                             Quote item)
        Generated method - Getter of the Quote.orderCode attribute.
        Returns:
        the orderCode - Unique identifier of Order Created for particular Quote
      • getOrderCode

        public java.lang.String getOrderCode​(Quote item)
        Generated method - Getter of the Quote.orderCode attribute.
        Returns:
        the orderCode - Unique identifier of Order Created for particular Quote
      • setOrderCode

        public void setOrderCode​(SessionContext ctx,
                                 Quote item,
                                 java.lang.String value)
        Generated method - Setter of the Quote.orderCode attribute.
        Parameters:
        value - the orderCode - Unique identifier of Order Created for particular Quote
      • setOrderCode

        public void setOrderCode​(Quote item,
                                 java.lang.String value)
        Generated method - Setter of the Quote.orderCode attribute.
        Parameters:
        value - the orderCode - Unique identifier of Order Created for particular Quote
      • getOrderCode

        public java.lang.String getOrderCode​(SessionContext ctx,
                                             QuoteProcess item)
        Generated method - Getter of the QuoteProcess.orderCode attribute.
        Returns:
        the orderCode - Order code of created order from Quote
      • getOrderCode

        public java.lang.String getOrderCode​(QuoteProcess item)
        Generated method - Getter of the QuoteProcess.orderCode attribute.
        Returns:
        the orderCode - Order code of created order from Quote
      • setOrderCode

        public void setOrderCode​(SessionContext ctx,
                                 QuoteProcess item,
                                 java.lang.String value)
        Generated method - Setter of the QuoteProcess.orderCode attribute.
        Parameters:
        value - the orderCode - Order code of created order from Quote
      • setOrderCode

        public void setOrderCode​(QuoteProcess item,
                                 java.lang.String value)
        Generated method - Setter of the QuoteProcess.orderCode attribute.
        Parameters:
        value - the orderCode - Order code of created order from Quote
      • getProposalDocument

        public Media getProposalDocument​(SessionContext ctx,
                                         Quote item)
        Generated method - Getter of the Quote.proposalDocument attribute.
        Returns:
        the proposalDocument - Externally generated Proposal PDF Document
      • getProposalDocument

        public Media getProposalDocument​(Quote item)
        Generated method - Getter of the Quote.proposalDocument attribute.
        Returns:
        the proposalDocument - Externally generated Proposal PDF Document
      • setProposalDocument

        public void setProposalDocument​(SessionContext ctx,
                                        Quote item,
                                        Media value)
        Generated method - Setter of the Quote.proposalDocument attribute.
        Parameters:
        value - the proposalDocument - Externally generated Proposal PDF Document
      • setProposalDocument

        public void setProposalDocument​(Quote item,
                                        Media value)
        Generated method - Setter of the Quote.proposalDocument attribute.
        Parameters:
        value - the proposalDocument - Externally generated Proposal PDF Document
      • getQuoteDiscountConditionCode

        public java.lang.String getQuoteDiscountConditionCode​(SessionContext ctx,
                                                              GenericItem item)
        Generated method - Getter of the SAPConfiguration.quoteDiscountConditionCode attribute.
        Returns:
        the quoteDiscountConditionCode - quote processingType code in back end system
      • getQuoteDiscountConditionCode

        public java.lang.String getQuoteDiscountConditionCode​(SAPConfiguration item)
        Generated method - Getter of the SAPConfiguration.quoteDiscountConditionCode attribute.
        Returns:
        the quoteDiscountConditionCode - quote processingType code in back end system
      • setQuoteDiscountConditionCode

        public void setQuoteDiscountConditionCode​(SessionContext ctx,
                                                  GenericItem item,
                                                  java.lang.String value)
        Generated method - Setter of the SAPConfiguration.quoteDiscountConditionCode attribute.
        Parameters:
        value - the quoteDiscountConditionCode - quote processingType code in back end system
      • setQuoteDiscountConditionCode

        public void setQuoteDiscountConditionCode​(SAPConfiguration item,
                                                  java.lang.String value)
        Generated method - Setter of the SAPConfiguration.quoteDiscountConditionCode attribute.
        Parameters:
        value - the quoteDiscountConditionCode - quote processingType code in back end system
      • getQuoteEntryDiscountConditionCode

        public java.lang.String getQuoteEntryDiscountConditionCode​(SessionContext ctx,
                                                                   GenericItem item)
        Generated method - Getter of the SAPConfiguration.quoteEntryDiscountConditionCode attribute.
        Returns:
        the quoteEntryDiscountConditionCode - quoteEntry processingType code in back end system
      • getQuoteEntryDiscountConditionCode

        public java.lang.String getQuoteEntryDiscountConditionCode​(SAPConfiguration item)
        Generated method - Getter of the SAPConfiguration.quoteEntryDiscountConditionCode attribute.
        Returns:
        the quoteEntryDiscountConditionCode - quoteEntry processingType code in back end system
      • setQuoteEntryDiscountConditionCode

        public void setQuoteEntryDiscountConditionCode​(SessionContext ctx,
                                                       GenericItem item,
                                                       java.lang.String value)
        Generated method - Setter of the SAPConfiguration.quoteEntryDiscountConditionCode attribute.
        Parameters:
        value - the quoteEntryDiscountConditionCode - quoteEntry processingType code in back end system
      • setQuoteEntryDiscountConditionCode

        public void setQuoteEntryDiscountConditionCode​(SAPConfiguration item,
                                                       java.lang.String value)
        Generated method - Setter of the SAPConfiguration.quoteEntryDiscountConditionCode attribute.
        Parameters:
        value - the quoteEntryDiscountConditionCode - quoteEntry processingType code in back end system
      • getRank

        public java.lang.String getRank​(SessionContext ctx,
                                        QuoteEntry item)
        Generated method - Getter of the QuoteEntry.rank attribute.
        Returns:
        the rank - Unique rank of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • getRank

        public java.lang.String getRank​(QuoteEntry item)
        Generated method - Getter of the QuoteEntry.rank attribute.
        Returns:
        the rank - Unique rank of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • setRank

        public void setRank​(SessionContext ctx,
                            QuoteEntry item,
                            java.lang.String value)
        Generated method - Setter of the QuoteEntry.rank attribute.
        Parameters:
        value - the rank - Unique rank of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • setRank

        public void setRank​(QuoteEntry item,
                            java.lang.String value)
        Generated method - Setter of the QuoteEntry.rank attribute.
        Parameters:
        value - the rank - Unique rank of QuoteEntry in the External Integrated System, eg. Callidus CPQ
      • getSalesOrganization

        public java.lang.String getSalesOrganization​(SessionContext ctx,
                                                     Quote item)
        Generated method - Getter of the Quote.salesOrganization attribute.
        Returns:
        the salesOrganization - Sales Organization
      • getSalesOrganization

        public java.lang.String getSalesOrganization​(Quote item)
        Generated method - Getter of the Quote.salesOrganization attribute.
        Returns:
        the salesOrganization - Sales Organization
      • setSalesOrganization

        public void setSalesOrganization​(SessionContext ctx,
                                         Quote item,
                                         java.lang.String value)
        Generated method - Setter of the Quote.salesOrganization attribute.
        Parameters:
        value - the salesOrganization - Sales Organization
      • setSalesOrganization

        public void setSalesOrganization​(Quote item,
                                         java.lang.String value)
        Generated method - Setter of the Quote.salesOrganization attribute.
        Parameters:
        value - the salesOrganization - Sales Organization