public static interface Order.Builder extends SdkPojo, CopyableBuilder<Order.Builder,Order>
| Modifier and Type | Method and Description |
|---|---|
Order.Builder |
lineItems(Collection<LineItem> lineItems)
The line items for the order
|
Order.Builder |
lineItems(Consumer<LineItem.Builder>... lineItems)
The line items for the order
|
Order.Builder |
lineItems(LineItem... lineItems)
The line items for the order
|
Order.Builder |
orderFulfilledDate(Instant orderFulfilledDate)
The fulfillment date of the order.
|
Order.Builder |
orderId(String orderId)
The ID of the order.
|
Order.Builder |
orderSubmissionDate(Instant orderSubmissionDate)
The submission date for the order.
|
Order.Builder |
outpostId(String outpostId)
The ID of the Outpost.
|
Order.Builder |
paymentOption(PaymentOption paymentOption)
The payment option for the order.
|
Order.Builder |
paymentOption(String paymentOption)
The payment option for the order.
|
Order.Builder |
status(OrderStatus status)
The status of the order
|
Order.Builder |
status(String status)
The status of the order
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildOrder.Builder outpostId(String outpostId)
The ID of the Outpost.
outpostId - The ID of the Outpost.Order.Builder orderId(String orderId)
The ID of the order.
orderId - The ID of the order.Order.Builder status(String status)
The status of the order
status - The status of the orderOrderStatus,
OrderStatusOrder.Builder status(OrderStatus status)
The status of the order
status - The status of the orderOrderStatus,
OrderStatusOrder.Builder lineItems(Collection<LineItem> lineItems)
The line items for the order
lineItems - The line items for the orderOrder.Builder lineItems(LineItem... lineItems)
The line items for the order
lineItems - The line items for the orderOrder.Builder lineItems(Consumer<LineItem.Builder>... lineItems)
The line items for the order
This is a convenience that creates an instance of theList.Builder avoiding the need to
create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its
result is passed to #lineItems(List) .lineItems - a consumer that will call methods on List.Builder #lineItems(List) Order.Builder paymentOption(String paymentOption)
The payment option for the order.
paymentOption - The payment option for the order.PaymentOption,
PaymentOptionOrder.Builder paymentOption(PaymentOption paymentOption)
The payment option for the order.
paymentOption - The payment option for the order.PaymentOption,
PaymentOptionOrder.Builder orderSubmissionDate(Instant orderSubmissionDate)
The submission date for the order.
orderSubmissionDate - The submission date for the order.Order.Builder orderFulfilledDate(Instant orderFulfilledDate)
The fulfillment date of the order.
orderFulfilledDate - The fulfillment date of the order.Copyright © 2021. All rights reserved.