Class QuoteModel

    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _ASSIGNEE2QUOTES

        public static final java.lang.String _ASSIGNEE2QUOTES
        Generated relation code constant for relation Assignee2Quotes defining source attribute assignee in extension commerceservices.
        See Also:
        Constant Field Values
      • VERSION

        public static final java.lang.String VERSION
        Generated constant - Attribute key of Quote.version attribute defined at extension core.
        See Also:
        Constant Field Values
      • STATE

        public static final java.lang.String STATE
        Generated constant - Attribute key of Quote.state attribute defined at extension core.
        See Also:
        Constant Field Values
      • CARTREFERENCE

        public static final java.lang.String CARTREFERENCE
        Generated constant - Attribute key of Quote.cartReference attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • PREVIOUSESTIMATEDTOTAL

        public static final java.lang.String PREVIOUSESTIMATEDTOTAL
        Generated constant - Attribute key of Quote.previousEstimatedTotal attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • ASSIGNEE

        public static final java.lang.String ASSIGNEE
        Generated constant - Attribute key of Quote.assignee attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • GENERATEDNOTIFICATIONS

        public static final java.lang.String GENERATEDNOTIFICATIONS
        Generated constant - Attribute key of Quote.generatedNotifications attribute defined at extension commerceservices.
        See Also:
        Constant Field Values
      • C4CQUOTEID

        public static final java.lang.String C4CQUOTEID
        Generated constant - Attribute key of Quote.c4cQuoteId attribute defined at extension c4cquote.
        See Also:
        Constant Field Values
      • ORDERID

        public static final java.lang.String ORDERID
        Generated constant - Attribute key of Quote.orderId attribute defined at extension c4cquote.
        See Also:
        Constant Field Values
      • EXTERNALQUOTEID

        public static final java.lang.String EXTERNALQUOTEID
        Generated constant - Attribute key of Quote.externalQuoteId attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • EXTERNALQUOTEDOCUMENT

        public static final java.lang.String EXTERNALQUOTEDOCUMENT
        Generated constant - Attribute key of Quote.externalQuoteDocument attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • EXTERNALCOMMENTS

        public static final java.lang.String EXTERNALCOMMENTS
        Generated constant - Attribute key of Quote.externalComments attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • ORDERCODE

        public static final java.lang.String ORDERCODE
        Generated constant - Attribute key of Quote.orderCode attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • PROPOSALDOCUMENT

        public static final java.lang.String PROPOSALDOCUMENT
        Generated constant - Attribute key of Quote.proposalDocument attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • EXTERNALGLOBALDISCOUNTS

        public static final java.lang.String EXTERNALGLOBALDISCOUNTS
        Generated constant - Attribute key of Quote.externalGlobalDiscounts attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • HEADERDISCOUNT

        public static final java.lang.String HEADERDISCOUNT
        Generated constant - Attribute key of Quote.headerDiscount attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • SALESORGANIZATION

        public static final java.lang.String SALESORGANIZATION
        Generated constant - Attribute key of Quote.salesOrganization attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • DISTRIBUTIONCHANNEL

        public static final java.lang.String DISTRIBUTIONCHANNEL
        Generated constant - Attribute key of Quote.distributionChannel attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
      • DIVISION

        public static final java.lang.String DIVISION
        Generated constant - Attribute key of Quote.division attribute defined at extension sapquoteintegration.
        See Also:
        Constant Field Values
    • Constructor Detail

      • QuoteModel

        public QuoteModel()
        Generated constructor - Default constructor for generic creation.
      • QuoteModel

        public QuoteModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • QuoteModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public QuoteModel​(CurrencyModel _currency,
                          java.util.Date _date,
                          QuoteState _state,
                          UserModel _user,
                          java.lang.Integer _version)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _currency - initial attribute declared by type AbstractOrder at extension core
        _date - initial attribute declared by type AbstractOrder at extension core
        _state - initial attribute declared by type Quote at extension core
        _user - initial attribute declared by type Quote at extension core
        _version - initial attribute declared by type Quote at extension core
      • QuoteModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public QuoteModel​(CurrencyModel _currency,
                          java.util.Date _date,
                          ItemModel _owner,
                          QuoteState _state,
                          UserModel _user,
                          java.lang.Integer _version)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _currency - initial attribute declared by type AbstractOrder at extension core
        _date - initial attribute declared by type AbstractOrder at extension core
        _owner - initial attribute declared by type Item at extension core
        _state - initial attribute declared by type Quote at extension core
        _user - initial attribute declared by type Quote at extension core
        _version - initial attribute declared by type Quote at extension core
    • Method Detail

      • getAssignee

        @Accessor(qualifier="assignee",
                  type=GETTER)
        public UserModel getAssignee()
        Generated method - Getter of the Quote.assignee attribute defined at extension commerceservices.
        Returns:
        the assignee
      • getC4cQuoteId

        @Accessor(qualifier="c4cQuoteId",
                  type=GETTER)
        public java.lang.String getC4cQuoteId()
        Generated method - Getter of the Quote.c4cQuoteId attribute defined at extension c4cquote.
        Returns:
        the c4cQuoteId - Id created for Quote in C4C
      • getCartReference

        @Accessor(qualifier="cartReference",
                  type=GETTER)
        public CartModel getCartReference()
        Generated method - Getter of the Quote.cartReference attribute defined at extension commerceservices.
        Returns:
        the cartReference - The reference to cart used to manipulate the quote.
      • getDistributionChannel

        @Accessor(qualifier="distributionChannel",
                  type=GETTER)
        public java.lang.String getDistributionChannel()
        Generated method - Getter of the Quote.distributionChannel attribute defined at extension sapquoteintegration.
        Returns:
        the distributionChannel - Distribution Channel
      • getDivision

        @Accessor(qualifier="division",
                  type=GETTER)
        public java.lang.String getDivision()
        Generated method - Getter of the Quote.division attribute defined at extension sapquoteintegration.
        Returns:
        the division - Division
      • getExternalComments

        @Accessor(qualifier="externalComments",
                  type=GETTER)
        public java.lang.String getExternalComments()
        Generated method - Getter of the Quote.externalComments attribute defined at extension sapquoteintegration.
        Returns:
        the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • getExternalGlobalDiscounts

        @Accessor(qualifier="externalGlobalDiscounts",
                  type=GETTER)
        public java.util.List<java.lang.String> getExternalGlobalDiscounts()
        Generated method - Getter of the Quote.externalGlobalDiscounts attribute defined at extension sapquoteintegration. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the externalGlobalDiscounts - Header level discounts collection
      • getExternalQuoteDocument

        @Accessor(qualifier="externalQuoteDocument",
                  type=GETTER)
        public java.lang.String getExternalQuoteDocument()
        Generated method - Getter of the Quote.externalQuoteDocument attribute defined at extension sapquoteintegration.
        Returns:
        the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • getExternalQuoteId

        @Accessor(qualifier="externalQuoteId",
                  type=GETTER)
        public java.lang.String getExternalQuoteId()
        Generated method - Getter of the Quote.externalQuoteId attribute defined at extension sapquoteintegration.
        Returns:
        the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • getGeneratedNotifications

        @Accessor(qualifier="generatedNotifications",
                  type=GETTER)
        public java.util.Set<QuoteNotificationType> getGeneratedNotifications()
        Generated method - Getter of the Quote.generatedNotifications attribute defined at extension commerceservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the generatedNotifications
      • getHeaderDiscount

        @Accessor(qualifier="headerDiscount",
                  type=GETTER)
        public java.lang.Double getHeaderDiscount()
        Generated method - Getter of the Quote.headerDiscount attribute defined at extension sapquoteintegration.
        Returns:
        the headerDiscount
      • getOrderCode

        @Accessor(qualifier="orderCode",
                  type=GETTER)
        public java.lang.String getOrderCode()
        Generated method - Getter of the Quote.orderCode attribute defined at extension sapquoteintegration.
        Returns:
        the orderCode - Unique identifier of Order Created for particular Quote
      • getOrderId

        @Accessor(qualifier="orderId",
                  type=GETTER)
        public java.lang.String getOrderId()
        Generated method - Getter of the Quote.orderId attribute defined at extension c4cquote.
        Returns:
        the orderId - Order ID
      • getPreviousEstimatedTotal

        @Accessor(qualifier="previousEstimatedTotal",
                  type=GETTER)
        public java.lang.Double getPreviousEstimatedTotal()
        Generated method - Getter of the Quote.previousEstimatedTotal attribute defined at extension commerceservices.
        Returns:
        the previousEstimatedTotal - Previously estimated total
      • getProposalDocument

        @Accessor(qualifier="proposalDocument",
                  type=GETTER)
        public MediaModel getProposalDocument()
        Generated method - Getter of the Quote.proposalDocument attribute defined at extension sapquoteintegration.
        Returns:
        the proposalDocument - Externally generated Proposal PDF Document
      • getSalesOrganization

        @Accessor(qualifier="salesOrganization",
                  type=GETTER)
        public java.lang.String getSalesOrganization()
        Generated method - Getter of the Quote.salesOrganization attribute defined at extension sapquoteintegration.
        Returns:
        the salesOrganization - Sales Organization
      • getState

        @Accessor(qualifier="state",
                  type=GETTER)
        public QuoteState getState()
        Generated method - Getter of the Quote.state attribute defined at extension core.
        Returns:
        the state - Current state of the quote
      • getVersion

        @Accessor(qualifier="version",
                  type=GETTER)
        public java.lang.Integer getVersion()
        Generated method - Getter of the Quote.version attribute defined at extension core.
        Returns:
        the version - The version of the quote. Along with code it makes a quote instance unique.
      • setAssignee

        @Accessor(qualifier="assignee",
                  type=SETTER)
        public void setAssignee​(UserModel value)
        Generated method - Setter of Quote.assignee attribute defined at extension commerceservices.
        Parameters:
        value - the assignee
      • setC4cQuoteId

        @Accessor(qualifier="c4cQuoteId",
                  type=SETTER)
        public void setC4cQuoteId​(java.lang.String value)
        Generated method - Setter of Quote.c4cQuoteId attribute defined at extension c4cquote.
        Parameters:
        value - the c4cQuoteId - Id created for Quote in C4C
      • setCartReference

        @Accessor(qualifier="cartReference",
                  type=SETTER)
        public void setCartReference​(CartModel value)
        Generated method - Setter of Quote.cartReference attribute defined at extension commerceservices.
        Parameters:
        value - the cartReference - The reference to cart used to manipulate the quote.
      • setDistributionChannel

        @Accessor(qualifier="distributionChannel",
                  type=SETTER)
        public void setDistributionChannel​(java.lang.String value)
        Generated method - Setter of Quote.distributionChannel attribute defined at extension sapquoteintegration.
        Parameters:
        value - the distributionChannel - Distribution Channel
      • setDivision

        @Accessor(qualifier="division",
                  type=SETTER)
        public void setDivision​(java.lang.String value)
        Generated method - Setter of Quote.division attribute defined at extension sapquoteintegration.
        Parameters:
        value - the division - Division
      • setExternalComments

        @Accessor(qualifier="externalComments",
                  type=SETTER)
        public void setExternalComments​(java.lang.String value)
        Generated method - Setter of Quote.externalComments attribute defined at extension sapquoteintegration.
        Parameters:
        value - the externalComments - External header level comments in XML formal to be parsed in pre-persist-hook
      • setExternalGlobalDiscounts

        @Accessor(qualifier="externalGlobalDiscounts",
                  type=SETTER)
        public void setExternalGlobalDiscounts​(java.util.List<java.lang.String> value)
        Generated method - Setter of Quote.externalGlobalDiscounts attribute defined at extension sapquoteintegration.
        Parameters:
        value - the externalGlobalDiscounts - Header level discounts collection
      • setExternalQuoteDocument

        @Accessor(qualifier="externalQuoteDocument",
                  type=SETTER)
        public void setExternalQuoteDocument​(java.lang.String value)
        Generated method - Setter of Quote.externalQuoteDocument attribute defined at extension sapquoteintegration.
        Parameters:
        value - the externalQuoteDocument - Quote Document eg. in PDF Base64 form
      • setExternalQuoteId

        @Accessor(qualifier="externalQuoteId",
                  type=SETTER)
        public void setExternalQuoteId​(java.lang.String value)
        Generated method - Setter of Quote.externalQuoteId attribute defined at extension sapquoteintegration.
        Parameters:
        value - the externalQuoteId - Unique identifier of Quote in the Integrated System, eg. Callidus CPQ
      • setGeneratedNotifications

        @Accessor(qualifier="generatedNotifications",
                  type=SETTER)
        public void setGeneratedNotifications​(java.util.Set<QuoteNotificationType> value)
        Generated method - Setter of Quote.generatedNotifications attribute defined at extension commerceservices.
        Parameters:
        value - the generatedNotifications
      • setHeaderDiscount

        @Accessor(qualifier="headerDiscount",
                  type=SETTER)
        public void setHeaderDiscount​(java.lang.Double value)
        Generated method - Setter of Quote.headerDiscount attribute defined at extension sapquoteintegration.
        Parameters:
        value - the headerDiscount
      • setOrderCode

        @Accessor(qualifier="orderCode",
                  type=SETTER)
        public void setOrderCode​(java.lang.String value)
        Generated method - Setter of Quote.orderCode attribute defined at extension sapquoteintegration.
        Parameters:
        value - the orderCode - Unique identifier of Order Created for particular Quote
      • setOrderId

        @Accessor(qualifier="orderId",
                  type=SETTER)
        public void setOrderId​(java.lang.String value)
        Generated method - Setter of Quote.orderId attribute defined at extension c4cquote.
        Parameters:
        value - the orderId - Order ID
      • setPreviousEstimatedTotal

        @Accessor(qualifier="previousEstimatedTotal",
                  type=SETTER)
        public void setPreviousEstimatedTotal​(java.lang.Double value)
        Generated method - Setter of Quote.previousEstimatedTotal attribute defined at extension commerceservices.
        Parameters:
        value - the previousEstimatedTotal - Previously estimated total
      • setProposalDocument

        @Accessor(qualifier="proposalDocument",
                  type=SETTER)
        public void setProposalDocument​(MediaModel value)
        Generated method - Setter of Quote.proposalDocument attribute defined at extension sapquoteintegration.
        Parameters:
        value - the proposalDocument - Externally generated Proposal PDF Document
      • setSalesOrganization

        @Accessor(qualifier="salesOrganization",
                  type=SETTER)
        public void setSalesOrganization​(java.lang.String value)
        Generated method - Setter of Quote.salesOrganization attribute defined at extension sapquoteintegration.
        Parameters:
        value - the salesOrganization - Sales Organization
      • setState

        @Accessor(qualifier="state",
                  type=SETTER)
        public void setState​(QuoteState value)
        Generated method - Setter of Quote.state attribute defined at extension core.
        Parameters:
        value - the state - Current state of the quote
      • setVersion

        @Accessor(qualifier="version",
                  type=SETTER)
        public void setVersion​(java.lang.Integer value)
        Generated method - Initial setter of Quote.version attribute defined at extension core. Can only be used at creation of model - before first save.
        Parameters:
        value - the version - The version of the quote. Along with code it makes a quote instance unique.