Class Quote.Builder
java.lang.Object
com.commercetools.graphql.api.types.Quote.Builder
- Enclosing class:
- Quote
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbillingAddress(Address billingAddress) build()businessUnit(BusinessUnit businessUnit) businessUnitRef(KeyReference businessUnitRef) buyerComment(String buyerComment) createdAt(OffsetDateTime createdAt) custom(CustomFieldsType custom) customerGroup(CustomerGroup customerGroup) customerGroupRef(Reference customerGroupRef) customerRef(Reference customerRef) customLineItems(List<CustomLineItem> customLineItems) directDiscounts(List<DirectDiscount> directDiscounts) BETA: This feature can be subject to change and should be used carefully in production.inventoryMode(InventoryMode inventoryMode) itemShippingAddresses(List<Address> itemShippingAddresses) lastModifiedAt(OffsetDateTime lastModifiedAt) lastModifiedBy(Initiator lastModifiedBy) paymentInfo(PaymentInfo paymentInfo) purchaseOrderNumber(String purchaseOrderNumber) quoteRequest(QuoteRequest quoteRequest) quoteRequestRef(Reference quoteRequestRef) quoteState(QuoteState quoteState) sellerComment(String sellerComment) shippingAddress(Address shippingAddress) shippingInfo(ShippingInfo shippingInfo) shippingRateInput(ShippingRateInput shippingRateInput) stagedQuote(StagedQuote stagedQuote) stagedQuoteRef(Reference stagedQuoteRef) storeRef(KeyReference storeRef) taxCalculationMode(TaxCalculationMode taxCalculationMode) taxedPrice(TaxedPrice taxedPrice) taxRoundingMode(RoundingMode taxRoundingMode) totalPrice(Money totalPrice) validTo(OffsetDateTime validTo)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
customerRef
-
customer
-
customerGroupRef
-
customerGroup
-
lineItems
-
customLineItems
-
totalPrice
-
taxedPrice
-
shippingAddress
-
billingAddress
-
itemShippingAddresses
-
inventoryMode
-
taxMode
-
taxRoundingMode
-
taxCalculationMode
-
country
-
shippingInfo
-
paymentInfo
-
directDiscounts
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
shippingRateInput
-
storeRef
-
store
-
businessUnit
-
businessUnitRef
-
key
-
quoteState
-
stagedQuoteRef
-
stagedQuote
-
quoteRequestRef
-
quoteRequest
-
validTo
-
sellerComment
-
buyerComment
-
custom
-
stateRef
-
state
-
purchaseOrderNumber
-
id
-
version
-
createdAt
-
lastModifiedAt
-
createdBy
-
lastModifiedBy
-