Class QuoteRequest
java.lang.Object
com.commercetools.graphql.api.types.QuoteRequest
- All Implemented Interfaces:
Versioned
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionQuoteRequest(Reference customerRef, Customer customer, Reference customerGroupRef, CustomerGroup customerGroup, List<LineItem> lineItems, List<CustomLineItem> customLineItems, Money totalPrice, TaxedPrice taxedPrice, Address shippingAddress, Address billingAddress, List<Address> itemShippingAddresses, InventoryMode inventoryMode, TaxMode taxMode, RoundingMode taxRoundingMode, TaxCalculationMode taxCalculationMode, String country, ShippingInfo shippingInfo, PaymentInfo paymentInfo, List<DirectDiscount> directDiscounts, ShippingRateInput shippingRateInput, KeyReference storeRef, Store store, BusinessUnit businessUnit, KeyReference businessUnitRef, String key, QuoteRequestState quoteRequestState, String comment, CustomFieldsType custom, Reference stateRef, State state, String purchaseOrderNumber, Reference cartRef, String id, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanBETA: This feature can be subject to change and should be used carefully in production.getId()getKey()getState()getStore()inthashCode()static QuoteRequest.BuildervoidsetBillingAddress(Address billingAddress) voidsetBusinessUnit(BusinessUnit businessUnit) voidsetBusinessUnitRef(KeyReference businessUnitRef) voidsetCartRef(Reference cartRef) voidsetComment(String comment) voidsetCountry(String country) voidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedBy(Initiator createdBy) voidsetCustom(CustomFieldsType custom) voidsetCustomer(Customer customer) voidsetCustomerGroup(CustomerGroup customerGroup) voidsetCustomerGroupRef(Reference customerGroupRef) voidsetCustomerRef(Reference customerRef) voidsetCustomLineItems(List<CustomLineItem> customLineItems) voidsetDirectDiscounts(List<DirectDiscount> directDiscounts) voidvoidsetInventoryMode(InventoryMode inventoryMode) voidsetItemShippingAddresses(List<Address> itemShippingAddresses) voidvoidsetLastModifiedAt(OffsetDateTime lastModifiedAt) voidsetLastModifiedBy(Initiator lastModifiedBy) voidsetLineItems(List<LineItem> lineItems) voidsetPaymentInfo(PaymentInfo paymentInfo) voidsetPurchaseOrderNumber(String purchaseOrderNumber) voidsetQuoteRequestState(QuoteRequestState quoteRequestState) voidsetShippingAddress(Address shippingAddress) voidsetShippingInfo(ShippingInfo shippingInfo) voidsetShippingRateInput(ShippingRateInput shippingRateInput) voidvoidsetStateRef(Reference stateRef) voidvoidsetStoreRef(KeyReference storeRef) voidsetTaxCalculationMode(TaxCalculationMode taxCalculationMode) voidsetTaxedPrice(TaxedPrice taxedPrice) voidsetTaxMode(TaxMode taxMode) voidsetTaxRoundingMode(RoundingMode taxRoundingMode) voidsetTotalPrice(Money totalPrice) voidsetVersion(Long version) toString()
-
Constructor Details
-
QuoteRequest
public QuoteRequest() -
QuoteRequest
public QuoteRequest(Reference customerRef, Customer customer, Reference customerGroupRef, CustomerGroup customerGroup, List<LineItem> lineItems, List<CustomLineItem> customLineItems, Money totalPrice, TaxedPrice taxedPrice, Address shippingAddress, Address billingAddress, List<Address> itemShippingAddresses, InventoryMode inventoryMode, TaxMode taxMode, RoundingMode taxRoundingMode, TaxCalculationMode taxCalculationMode, String country, ShippingInfo shippingInfo, PaymentInfo paymentInfo, List<DirectDiscount> directDiscounts, ShippingRateInput shippingRateInput, KeyReference storeRef, Store store, BusinessUnit businessUnit, KeyReference businessUnitRef, String key, QuoteRequestState quoteRequestState, String comment, CustomFieldsType custom, Reference stateRef, State state, String purchaseOrderNumber, Reference cartRef, String id, Long version, OffsetDateTime createdAt, OffsetDateTime lastModifiedAt, Initiator createdBy, Initiator lastModifiedBy)
-
-
Method Details
-
getCustomerRef
-
setCustomerRef
-
getCustomer
-
setCustomer
-
getCustomerGroupRef
-
setCustomerGroupRef
-
getCustomerGroup
-
setCustomerGroup
-
getLineItems
-
setLineItems
-
getCustomLineItems
-
setCustomLineItems
-
getTotalPrice
-
setTotalPrice
-
getTaxedPrice
-
setTaxedPrice
-
getShippingAddress
-
setShippingAddress
-
getBillingAddress
-
setBillingAddress
-
getItemShippingAddresses
-
setItemShippingAddresses
-
getInventoryMode
-
setInventoryMode
-
getTaxMode
-
setTaxMode
-
getTaxRoundingMode
-
setTaxRoundingMode
-
getTaxCalculationMode
-
setTaxCalculationMode
-
getCountry
-
setCountry
-
getShippingInfo
-
setShippingInfo
-
getPaymentInfo
-
setPaymentInfo
-
getDirectDiscounts
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
setDirectDiscounts
-
getShippingRateInput
-
setShippingRateInput
-
getStoreRef
-
setStoreRef
-
getStore
-
setStore
-
getBusinessUnit
-
setBusinessUnit
-
getBusinessUnitRef
-
setBusinessUnitRef
-
getKey
-
setKey
-
getQuoteRequestState
-
setQuoteRequestState
-
getComment
-
setComment
-
getCustom
-
setCustom
-
getStateRef
-
setStateRef
-
getState
-
setState
-
getPurchaseOrderNumber
-
setPurchaseOrderNumber
-
getCartRef
-
setCartRef
-
getId
-
setId
-
getVersion
- Specified by:
getVersionin interfaceVersioned
-
setVersion
- Specified by:
setVersionin interfaceVersioned
-
getCreatedAt
- Specified by:
getCreatedAtin interfaceVersioned
-
setCreatedAt
- Specified by:
setCreatedAtin interfaceVersioned
-
getLastModifiedAt
- Specified by:
getLastModifiedAtin interfaceVersioned
-
setLastModifiedAt
- Specified by:
setLastModifiedAtin interfaceVersioned
-
getCreatedBy
- Specified by:
getCreatedByin interfaceVersioned
-
setCreatedBy
- Specified by:
setCreatedByin interfaceVersioned
-
getLastModifiedBy
- Specified by:
getLastModifiedByin interfaceVersioned
-
setLastModifiedBy
- Specified by:
setLastModifiedByin interfaceVersioned
-
toString
-
equals
-
hashCode
public int hashCode() -
newBuilder
-