@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OrderSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of line items in your order.
| Constructor and Description |
|---|
OrderSummary() |
| Modifier and Type | Method and Description |
|---|---|
OrderSummary |
addLineItemCountsByStatusEntry(String key,
Integer value)
Add a single LineItemCountsByStatus entry
|
OrderSummary |
clearLineItemCountsByStatusEntries()
Removes all the entries added into LineItemCountsByStatus.
|
OrderSummary |
clone() |
boolean |
equals(Object obj) |
Map<String,Integer> |
getLineItemCountsByStatus()
The status of all line items in the order.
|
Date |
getOrderFulfilledDate()
The fulfilment date for the order.
|
String |
getOrderId()
The ID of the order.
|
Date |
getOrderSubmissionDate()
The submission date for the order.
|
String |
getOrderType()
The type of order.
|
String |
getOutpostId()
The ID of the Outpost.
|
String |
getStatus()
The status of the order.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLineItemCountsByStatus(Map<String,Integer> lineItemCountsByStatus)
The status of all line items in the order.
|
void |
setOrderFulfilledDate(Date orderFulfilledDate)
The fulfilment date for the order.
|
void |
setOrderId(String orderId)
The ID of the order.
|
void |
setOrderSubmissionDate(Date orderSubmissionDate)
The submission date for the order.
|
void |
setOrderType(String orderType)
The type of order.
|
void |
setOutpostId(String outpostId)
The ID of the Outpost.
|
void |
setStatus(String status)
The status of the order.
|
String |
toString()
Returns a string representation of this object.
|
OrderSummary |
withLineItemCountsByStatus(Map<String,Integer> lineItemCountsByStatus)
The status of all line items in the order.
|
OrderSummary |
withOrderFulfilledDate(Date orderFulfilledDate)
The fulfilment date for the order.
|
OrderSummary |
withOrderId(String orderId)
The ID of the order.
|
OrderSummary |
withOrderSubmissionDate(Date orderSubmissionDate)
The submission date for the order.
|
OrderSummary |
withOrderType(OrderType orderType)
The type of order.
|
OrderSummary |
withOrderType(String orderType)
The type of order.
|
OrderSummary |
withOutpostId(String outpostId)
The ID of the Outpost.
|
OrderSummary |
withStatus(OrderStatus status)
The status of the order.
|
OrderSummary |
withStatus(String status)
The status of the order.
|
public void setOutpostId(String outpostId)
The ID of the Outpost.
outpostId - The ID of the Outpost.public String getOutpostId()
The ID of the Outpost.
public OrderSummary withOutpostId(String outpostId)
The ID of the Outpost.
outpostId - The ID of the Outpost.public void setOrderId(String orderId)
The ID of the order.
orderId - The ID of the order.public String getOrderId()
The ID of the order.
public OrderSummary withOrderId(String orderId)
The ID of the order.
orderId - The ID of the order.public void setOrderType(String orderType)
The type of order.
orderType - The type of order.OrderTypepublic String getOrderType()
The type of order.
OrderTypepublic OrderSummary withOrderType(String orderType)
The type of order.
orderType - The type of order.OrderTypepublic OrderSummary withOrderType(OrderType orderType)
The type of order.
orderType - The type of order.OrderTypepublic void setStatus(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.
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.
OrderStatuspublic String getStatus()
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.
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.
OrderStatuspublic OrderSummary withStatus(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.
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.
OrderStatuspublic OrderSummary withStatus(OrderStatus 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.
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.
OrderStatuspublic Map<String,Integer> getLineItemCountsByStatus()
The status of all line items in the order.
public void setLineItemCountsByStatus(Map<String,Integer> lineItemCountsByStatus)
The status of all line items in the order.
lineItemCountsByStatus - The status of all line items in the order.public OrderSummary withLineItemCountsByStatus(Map<String,Integer> lineItemCountsByStatus)
The status of all line items in the order.
lineItemCountsByStatus - The status of all line items in the order.public OrderSummary addLineItemCountsByStatusEntry(String key, Integer value)
public OrderSummary clearLineItemCountsByStatusEntries()
public void setOrderSubmissionDate(Date orderSubmissionDate)
The submission date for the order.
orderSubmissionDate - The submission date for the order.public Date getOrderSubmissionDate()
The submission date for the order.
public OrderSummary withOrderSubmissionDate(Date orderSubmissionDate)
The submission date for the order.
orderSubmissionDate - The submission date for the order.public void setOrderFulfilledDate(Date orderFulfilledDate)
The fulfilment date for the order.
orderFulfilledDate - The fulfilment date for the order.public Date getOrderFulfilledDate()
The fulfilment date for the order.
public OrderSummary withOrderFulfilledDate(Date orderFulfilledDate)
The fulfilment date for the order.
orderFulfilledDate - The fulfilment date for the order.public String toString()
toString in class ObjectObject.toString()public OrderSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.