Class Order.Builder
java.lang.Object
com.commercetools.graphql.api.types.Order.Builder
- Enclosing class:
- Order
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanonymousId(String anonymousId) billingAddress(Address billingAddress) build()businessUnit(BusinessUnit businessUnit) businessUnitRef(KeyReference businessUnitRef) completedAt(OffsetDateTime completedAt) createdAt(OffsetDateTime createdAt) custom(CustomFieldsType custom) customerEmail(String customerEmail) customerGroup(CustomerGroup customerGroup) customerGroupRef(Reference customerGroupRef) customerId(String customerId) customLineItems(List<CustomLineItem> customLineItems) directDiscounts(List<DirectDiscount> directDiscounts) discountCodes(List<DiscountCodeInfo> discountCodes) discountOnTotalPrice(DiscountOnTotalPrice discountOnTotalPrice) BETA: This feature can be subject to change and should be used carefully in production.inventoryMode(InventoryMode inventoryMode) itemShippingAddresses(List<Address> itemShippingAddresses) lastMessageSequenceNumber(Long lastMessageSequenceNumber) lastModifiedAt(OffsetDateTime lastModifiedAt) lastModifiedBy(Initiator lastModifiedBy) orderNumber(String orderNumber) orderState(OrderState orderState) origin(CartOrigin origin) paymentInfo(PaymentInfo paymentInfo) paymentState(PaymentState paymentState) purchaseOrderNumber(String purchaseOrderNumber) refusedGifts(List<CartDiscount> refusedGifts) refusedGiftsRefs(List<Reference> refusedGiftsRefs) returnInfo(List<ReturnInfo> returnInfo) shipmentState(ShipmentState shipmentState) shippingAddress(Address shippingAddress) shippingCustomFields(CustomFieldsType shippingCustomFields) shippingInfo(ShippingInfo shippingInfo) shippingKey(String shippingKey) shippingMode(ShippingMode shippingMode) shippingRateInput(ShippingRateInput shippingRateInput) storeRef(KeyReference storeRef) taxCalculationMode(TaxCalculationMode taxCalculationMode) taxedPrice(TaxedPrice taxedPrice) taxedShippingPrice(TaxedPrice taxedShippingPrice) taxRoundingMode(RoundingMode taxRoundingMode) totalPrice(Money totalPrice)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
customerId
-
customer
-
customerEmail
-
anonymousId
-
lineItems
-
customLineItems
-
totalPrice
-
taxedPrice
-
discountOnTotalPrice
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
shippingAddress
-
billingAddress
-
inventoryMode
-
taxMode
-
taxRoundingMode
-
taxCalculationMode
-
customerGroup
-
customerGroupRef
-
country
-
shippingKey
-
shippingInfo
-
discountCodes
-
directDiscounts
-
refusedGifts
-
refusedGiftsRefs
-
paymentInfo
-
locale
-
shippingRateInput
-
origin
-
storeRef
-
store
-
itemShippingAddresses
-
businessUnit
-
businessUnitRef
-
shipping
-
taxedShippingPrice
-
shippingMode
-
shippingCustomFields
-
completedAt
-
orderNumber
-
orderState
-
stateRef
-
state
-
shipmentState
-
paymentState
-
syncInfo
-
returnInfo
-
purchaseOrderNumber
-
lastMessageSequenceNumber
-
cartRef
-
cart
-
quoteRef
-
quote
-
custom
-
id
-
version
-
createdAt
-
lastModifiedAt
-
createdBy
-
lastModifiedBy
-