@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LineItemGroup extends Object implements Serializable, Cloneable, StructuredPojo
A grouping of tables which contain LineItems, with each table identified by the table's
LineItemGroupIndex
.
Constructor and Description |
---|
LineItemGroup() |
Modifier and Type | Method and Description |
---|---|
LineItemGroup |
clone() |
boolean |
equals(Object obj) |
Integer |
getLineItemGroupIndex()
The number used to identify a specific table in a document.
|
List<LineItemFields> |
getLineItems()
The breakdown of information on a particular line of a table.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLineItemGroupIndex(Integer lineItemGroupIndex)
The number used to identify a specific table in a document.
|
void |
setLineItems(Collection<LineItemFields> lineItems)
The breakdown of information on a particular line of a table.
|
String |
toString()
Returns a string representation of this object.
|
LineItemGroup |
withLineItemGroupIndex(Integer lineItemGroupIndex)
The number used to identify a specific table in a document.
|
LineItemGroup |
withLineItems(Collection<LineItemFields> lineItems)
The breakdown of information on a particular line of a table.
|
LineItemGroup |
withLineItems(LineItemFields... lineItems)
The breakdown of information on a particular line of a table.
|
public void setLineItemGroupIndex(Integer lineItemGroupIndex)
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
lineItemGroupIndex
- The number used to identify a specific table in a document. The first table encountered will have a
LineItemGroupIndex of 1, the second 2, etc.public Integer getLineItemGroupIndex()
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
public LineItemGroup withLineItemGroupIndex(Integer lineItemGroupIndex)
The number used to identify a specific table in a document. The first table encountered will have a LineItemGroupIndex of 1, the second 2, etc.
lineItemGroupIndex
- The number used to identify a specific table in a document. The first table encountered will have a
LineItemGroupIndex of 1, the second 2, etc.public List<LineItemFields> getLineItems()
The breakdown of information on a particular line of a table.
public void setLineItems(Collection<LineItemFields> lineItems)
The breakdown of information on a particular line of a table.
lineItems
- The breakdown of information on a particular line of a table.public LineItemGroup withLineItems(LineItemFields... lineItems)
The breakdown of information on a particular line of a table.
NOTE: This method appends the values to the existing list (if any). Use
setLineItems(java.util.Collection)
or withLineItems(java.util.Collection)
if you want to
override the existing values.
lineItems
- The breakdown of information on a particular line of a table.public LineItemGroup withLineItems(Collection<LineItemFields> lineItems)
The breakdown of information on a particular line of a table.
lineItems
- The breakdown of information on a particular line of a table.public String toString()
toString
in class Object
Object.toString()
public LineItemGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.