Class StagedQuoteImpl
- All Implemented Interfaces:
BaseResource
,StagedQuote
,WithKey
,io.vrap.rmf.base.client.ModelBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.vrap.rmf.base.client.ModelBase
io.vrap.rmf.base.client.ModelBase.FilteredRecursiveToStringStyle
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
The BusinessUnit for the Staged Quote.Date and time (UTC) the StagedQuote was initially created.Present on resources created after 1 February 2019 except for events not tracked.Custom Fields of the Staged Quote.The Buyer who requested the Quote.getId()
The unique ID of the StagedQuote.getKey()
User-specific unique identifier of the staged quote.Date and time (UTC) the StagedQuote was last updated.Present on resources created after 1 February 2019 except for events not tracked.The Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.Cart containing the offered items.Quote Request related to the Staged Quote.Message from the Seller included in the offer.Predefined states tracking the status of the Staged Quote.getState()
State of the Staged Quote.Expiration date for the Quote.Current version of the StagedQuote.int
hashCode()
void
setBusinessUnit
(BusinessUnitKeyReference businessUnit) The BusinessUnit for the Staged Quote.void
setCreatedAt
(ZonedDateTime createdAt) Date and time (UTC) the StagedQuote was initially created.void
setCreatedBy
(CreatedBy createdBy) Present on resources created after 1 February 2019 except for events not tracked.void
setCustom
(CustomFields custom) Custom Fields of the Staged Quote.void
setCustomer
(CustomerReference customer) The Buyer who requested the Quote.void
The unique ID of the StagedQuote.void
User-specific unique identifier of the staged quote.void
setLastModifiedAt
(ZonedDateTime lastModifiedAt) Date and time (UTC) the StagedQuote was last updated.void
setLastModifiedBy
(LastModifiedBy lastModifiedBy) Present on resources created after 1 February 2019 except for events not tracked.void
setPurchaseOrderNumber
(String purchaseOrderNumber) The Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.void
setQuotationCart
(CartReference quotationCart) Cart containing the offered items.void
setQuoteRequest
(QuoteRequestReference quoteRequest) Quote Request related to the Staged Quote.void
setSellerComment
(String sellerComment) Message from the Seller included in the offer.void
setStagedQuoteState
(StagedQuoteState stagedQuoteState) Predefined states tracking the status of the Staged Quote.void
setState
(StateReference state) State of the Staged Quote.void
setValidTo
(ZonedDateTime validTo) Expiration date for the Quote.void
setVersion
(Long version) Current version of the StagedQuote.Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.commercetools.api.models.common.BaseResource
withBaseResource
Methods inherited from interface io.vrap.rmf.base.client.ModelBase
reflectionString, reflectionString
Methods inherited from interface com.commercetools.api.models.staged_quote.StagedQuote
withStagedQuote
-
Constructor Details
-
StagedQuoteImpl
public StagedQuoteImpl()create empty instance
-
-
Method Details
-
getId
The unique ID of the StagedQuote.
- Specified by:
getId
in interfaceBaseResource
- Specified by:
getId
in interfaceStagedQuote
- Returns:
- id
-
getVersion
Current version of the StagedQuote.
- Specified by:
getVersion
in interfaceBaseResource
- Specified by:
getVersion
in interfaceStagedQuote
- Returns:
- version
-
getCreatedAt
Date and time (UTC) the StagedQuote was initially created.
- Specified by:
getCreatedAt
in interfaceBaseResource
- Specified by:
getCreatedAt
in interfaceStagedQuote
- Returns:
- createdAt
-
getLastModifiedAt
Date and time (UTC) the StagedQuote was last updated.
- Specified by:
getLastModifiedAt
in interfaceBaseResource
- Specified by:
getLastModifiedAt
in interfaceStagedQuote
- Returns:
- lastModifiedAt
-
getKey
User-specific unique identifier of the staged quote.
- Specified by:
getKey
in interfaceStagedQuote
- Specified by:
getKey
in interfaceWithKey
- Returns:
- key
-
getLastModifiedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getLastModifiedBy
in interfaceStagedQuote
- Returns:
- lastModifiedBy
-
getCreatedBy
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
getCreatedBy
in interfaceStagedQuote
- Returns:
- createdBy
-
getStagedQuoteState
Predefined states tracking the status of the Staged Quote.
- Specified by:
getStagedQuoteState
in interfaceStagedQuote
- Returns:
- stagedQuoteState
-
getCustomer
The Buyer who requested the Quote.
- Specified by:
getCustomer
in interfaceStagedQuote
- Returns:
- customer
-
getQuoteRequest
Quote Request related to the Staged Quote.
- Specified by:
getQuoteRequest
in interfaceStagedQuote
- Returns:
- quoteRequest
-
getQuotationCart
Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.
- Specified by:
getQuotationCart
in interfaceStagedQuote
- Returns:
- quotationCart
-
getValidTo
Expiration date for the Quote.
- Specified by:
getValidTo
in interfaceStagedQuote
- Returns:
- validTo
-
getSellerComment
Message from the Seller included in the offer.
- Specified by:
getSellerComment
in interfaceStagedQuote
- Returns:
- sellerComment
-
getCustom
Custom Fields of the Staged Quote.
- Specified by:
getCustom
in interfaceStagedQuote
- Returns:
- custom
-
getState
State of the Staged Quote. This reference can point to a State in a custom workflow.
- Specified by:
getState
in interfaceStagedQuote
- Returns:
- state
-
getPurchaseOrderNumber
The Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.
- Specified by:
getPurchaseOrderNumber
in interfaceStagedQuote
- Returns:
- purchaseOrderNumber
-
getBusinessUnit
The BusinessUnit for the Staged Quote.
- Specified by:
getBusinessUnit
in interfaceStagedQuote
- Returns:
- businessUnit
-
setId
Description copied from interface:StagedQuote
The unique ID of the StagedQuote.
- Specified by:
setId
in interfaceBaseResource
- Specified by:
setId
in interfaceStagedQuote
- Parameters:
id
- value to be set
-
setVersion
Description copied from interface:StagedQuote
Current version of the StagedQuote.
- Specified by:
setVersion
in interfaceBaseResource
- Specified by:
setVersion
in interfaceStagedQuote
- Parameters:
version
- value to be set
-
setCreatedAt
Description copied from interface:StagedQuote
Date and time (UTC) the StagedQuote was initially created.
- Specified by:
setCreatedAt
in interfaceBaseResource
- Specified by:
setCreatedAt
in interfaceStagedQuote
- Parameters:
createdAt
- value to be set
-
setLastModifiedAt
Description copied from interface:StagedQuote
Date and time (UTC) the StagedQuote was last updated.
- Specified by:
setLastModifiedAt
in interfaceBaseResource
- Specified by:
setLastModifiedAt
in interfaceStagedQuote
- Parameters:
lastModifiedAt
- value to be set
-
setKey
Description copied from interface:StagedQuote
User-specific unique identifier of the staged quote.
- Specified by:
setKey
in interfaceStagedQuote
- Parameters:
key
- value to be set
-
setLastModifiedBy
Description copied from interface:StagedQuote
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setLastModifiedBy
in interfaceStagedQuote
- Parameters:
lastModifiedBy
- value to be set
-
setCreatedBy
Description copied from interface:StagedQuote
Present on resources created after 1 February 2019 except for events not tracked.
- Specified by:
setCreatedBy
in interfaceStagedQuote
- Parameters:
createdBy
- value to be set
-
setStagedQuoteState
Description copied from interface:StagedQuote
Predefined states tracking the status of the Staged Quote.
- Specified by:
setStagedQuoteState
in interfaceStagedQuote
- Parameters:
stagedQuoteState
- value to be set
-
setCustomer
Description copied from interface:StagedQuote
The Buyer who requested the Quote.
- Specified by:
setCustomer
in interfaceStagedQuote
- Parameters:
customer
- value to be set
-
setQuoteRequest
Description copied from interface:StagedQuote
Quote Request related to the Staged Quote.
- Specified by:
setQuoteRequest
in interfaceStagedQuote
- Parameters:
quoteRequest
- value to be set
-
setQuotationCart
Description copied from interface:StagedQuote
Cart containing the offered items. May contain either DirectDiscounts or CartDiscounts.
- Specified by:
setQuotationCart
in interfaceStagedQuote
- Parameters:
quotationCart
- value to be set
-
setValidTo
Description copied from interface:StagedQuote
Expiration date for the Quote.
- Specified by:
setValidTo
in interfaceStagedQuote
- Parameters:
validTo
- value to be set
-
setSellerComment
Description copied from interface:StagedQuote
Message from the Seller included in the offer.
- Specified by:
setSellerComment
in interfaceStagedQuote
- Parameters:
sellerComment
- value to be set
-
setCustom
Description copied from interface:StagedQuote
Custom Fields of the Staged Quote.
- Specified by:
setCustom
in interfaceStagedQuote
- Parameters:
custom
- value to be set
-
setState
Description copied from interface:StagedQuote
State of the Staged Quote. This reference can point to a State in a custom workflow.
- Specified by:
setState
in interfaceStagedQuote
- Parameters:
state
- value to be set
-
setPurchaseOrderNumber
Description copied from interface:StagedQuote
The Purchase Order Number is typically set by the Buyer on a QuoteRequest to track the purchase order during the quote and order flow.
- Specified by:
setPurchaseOrderNumber
in interfaceStagedQuote
- Parameters:
purchaseOrderNumber
- value to be set
-
setBusinessUnit
Description copied from interface:StagedQuote
The BusinessUnit for the Staged Quote.
- Specified by:
setBusinessUnit
in interfaceStagedQuote
- Parameters:
businessUnit
- value to be set
-
equals
-
hashCode
-