@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LineItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about a line item.
| Constructor and Description |
|---|
LineItem() |
| Modifier and Type | Method and Description |
|---|---|
LineItem |
clone() |
boolean |
equals(Object obj) |
List<LineItemAssetInformation> |
getAssetInformationList()
Information about assets.
|
String |
getCatalogItemId()
The ID of the catalog item.
|
String |
getLineItemId()
The ID of the line item.
|
String |
getPreviousLineItemId()
The ID of the previous line item.
|
String |
getPreviousOrderId()
The ID of the previous order.
|
Integer |
getQuantity()
The quantity of the line item.
|
ShipmentInformation |
getShipmentInformation()
Information about a line item shipment.
|
String |
getStatus()
The status of the line item.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAssetInformationList(Collection<LineItemAssetInformation> assetInformationList)
Information about assets.
|
void |
setCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
void |
setLineItemId(String lineItemId)
The ID of the line item.
|
void |
setPreviousLineItemId(String previousLineItemId)
The ID of the previous line item.
|
void |
setPreviousOrderId(String previousOrderId)
The ID of the previous order.
|
void |
setQuantity(Integer quantity)
The quantity of the line item.
|
void |
setShipmentInformation(ShipmentInformation shipmentInformation)
Information about a line item shipment.
|
void |
setStatus(String status)
The status of the line item.
|
String |
toString()
Returns a string representation of this object.
|
LineItem |
withAssetInformationList(Collection<LineItemAssetInformation> assetInformationList)
Information about assets.
|
LineItem |
withAssetInformationList(LineItemAssetInformation... assetInformationList)
Information about assets.
|
LineItem |
withCatalogItemId(String catalogItemId)
The ID of the catalog item.
|
LineItem |
withLineItemId(String lineItemId)
The ID of the line item.
|
LineItem |
withPreviousLineItemId(String previousLineItemId)
The ID of the previous line item.
|
LineItem |
withPreviousOrderId(String previousOrderId)
The ID of the previous order.
|
LineItem |
withQuantity(Integer quantity)
The quantity of the line item.
|
LineItem |
withShipmentInformation(ShipmentInformation shipmentInformation)
Information about a line item shipment.
|
LineItem |
withStatus(LineItemStatus status)
The status of the line item.
|
LineItem |
withStatus(String status)
The status of the line item.
|
public void setCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId - The ID of the catalog item.public String getCatalogItemId()
The ID of the catalog item.
public LineItem withCatalogItemId(String catalogItemId)
The ID of the catalog item.
catalogItemId - The ID of the catalog item.public void setLineItemId(String lineItemId)
The ID of the line item.
lineItemId - The ID of the line item.public String getLineItemId()
The ID of the line item.
public LineItem withLineItemId(String lineItemId)
The ID of the line item.
lineItemId - The ID of the line item.public void setQuantity(Integer quantity)
The quantity of the line item.
quantity - The quantity of the line item.public Integer getQuantity()
The quantity of the line item.
public LineItem withQuantity(Integer quantity)
The quantity of the line item.
quantity - The quantity of the line item.public void setStatus(String status)
The status of the line item.
status - The status of the line item.LineItemStatuspublic String getStatus()
The status of the line item.
LineItemStatuspublic LineItem withStatus(String status)
The status of the line item.
status - The status of the line item.LineItemStatuspublic LineItem withStatus(LineItemStatus status)
The status of the line item.
status - The status of the line item.LineItemStatuspublic void setShipmentInformation(ShipmentInformation shipmentInformation)
Information about a line item shipment.
shipmentInformation - Information about a line item shipment.public ShipmentInformation getShipmentInformation()
Information about a line item shipment.
public LineItem withShipmentInformation(ShipmentInformation shipmentInformation)
Information about a line item shipment.
shipmentInformation - Information about a line item shipment.public List<LineItemAssetInformation> getAssetInformationList()
Information about assets.
public void setAssetInformationList(Collection<LineItemAssetInformation> assetInformationList)
Information about assets.
assetInformationList - Information about assets.public LineItem withAssetInformationList(LineItemAssetInformation... assetInformationList)
Information about assets.
NOTE: This method appends the values to the existing list (if any). Use
setAssetInformationList(java.util.Collection) or withAssetInformationList(java.util.Collection)
if you want to override the existing values.
assetInformationList - Information about assets.public LineItem withAssetInformationList(Collection<LineItemAssetInformation> assetInformationList)
Information about assets.
assetInformationList - Information about assets.public void setPreviousLineItemId(String previousLineItemId)
The ID of the previous line item.
previousLineItemId - The ID of the previous line item.public String getPreviousLineItemId()
The ID of the previous line item.
public LineItem withPreviousLineItemId(String previousLineItemId)
The ID of the previous line item.
previousLineItemId - The ID of the previous line item.public void setPreviousOrderId(String previousOrderId)
The ID of the previous order.
previousOrderId - The ID of the previous order.public String getPreviousOrderId()
The ID of the previous order.
public LineItem withPreviousOrderId(String previousOrderId)
The ID of the previous order.
previousOrderId - The ID of the previous order.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.