Interface OrderSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<OrderSummary.Builder,OrderSummary>, SdkBuilder<OrderSummary.Builder,OrderSummary>, SdkPojo
Enclosing class:
OrderSummary

public static interface OrderSummary.Builder extends SdkPojo, CopyableBuilder<OrderSummary.Builder,OrderSummary>
  • Method Details

    • outpostId

      OrderSummary.Builder outpostId(String outpostId)

      The ID of the Outpost.

      Parameters:
      outpostId - The ID of the Outpost.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderId

      OrderSummary.Builder orderId(String orderId)

      The ID of the order.

      Parameters:
      orderId - The ID of the order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderType

      OrderSummary.Builder orderType(String orderType)

      The type of order.

      Parameters:
      orderType - The type of order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • orderType

      OrderSummary.Builder orderType(OrderType orderType)

      The type of order.

      Parameters:
      orderType - The type of order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      OrderSummary.Builder status(String status)

      The status of the order.

      • PREPARING - Order is received and is being prepared.

      • IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status.

      • COMPLETED - Order is complete.

      • CANCELLED - Order is cancelled.

      • ERROR - Customer should contact support.

      The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

      Parameters:
      status - The status of the order.

      • PREPARING - Order is received and is being prepared.

      • IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status.

      • COMPLETED - Order is complete.

      • CANCELLED - Order is cancelled.

      • ERROR - Customer should contact support.

      The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The status of the order.

      • PREPARING - Order is received and is being prepared.

      • IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status.

      • COMPLETED - Order is complete.

      • CANCELLED - Order is cancelled.

      • ERROR - Customer should contact support.

      The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

      Parameters:
      status - The status of the order.

      • PREPARING - Order is received and is being prepared.

      • IN_PROGRESS - Order is either being built, shipped, or installed. For more information, see the LineItem status.

      • COMPLETED - Order is complete.

      • CANCELLED - Order is cancelled.

      • ERROR - Customer should contact support.

      The following statuses are deprecated: RECEIVED, PENDING, PROCESSING, INSTALLING, and FULFILLED.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • lineItemCountsByStatusWithStrings

      OrderSummary.Builder lineItemCountsByStatusWithStrings(Map<String,Integer> lineItemCountsByStatus)

      The status of all line items in the order.

      Parameters:
      lineItemCountsByStatus - The status of all line items in the order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lineItemCountsByStatus

      OrderSummary.Builder lineItemCountsByStatus(Map<LineItemStatus,Integer> lineItemCountsByStatus)

      The status of all line items in the order.

      Parameters:
      lineItemCountsByStatus - The status of all line items in the order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderSubmissionDate

      OrderSummary.Builder orderSubmissionDate(Instant orderSubmissionDate)

      The submission date for the order.

      Parameters:
      orderSubmissionDate - The submission date for the order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • orderFulfilledDate

      OrderSummary.Builder orderFulfilledDate(Instant orderFulfilledDate)

      The fulfilment date for the order.

      Parameters:
      orderFulfilledDate - The fulfilment date for the order.
      Returns:
      Returns a reference to this object so that method calls can be chained together.