@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListCustomLineItemChargeDetails extends Object implements Serializable, Cloneable, StructuredPojo
A representation of the charge details of a custom line item.
| Constructor and Description |
|---|
ListCustomLineItemChargeDetails() |
| Modifier and Type | Method and Description |
|---|---|
ListCustomLineItemChargeDetails |
clone() |
boolean |
equals(Object obj) |
ListCustomLineItemFlatChargeDetails |
getFlat()
A
ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
List<LineItemFilter> |
getLineItemFilters()
A representation of the line item filter.
|
ListCustomLineItemPercentageChargeDetails |
getPercentage()
A
ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item. |
String |
getType()
The type of the custom line item that indicates whether the charge is a
fee or credit. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFlat(ListCustomLineItemFlatChargeDetails flat)
A
ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
void |
setLineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
|
void |
setPercentage(ListCustomLineItemPercentageChargeDetails percentage)
A
ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item. |
void |
setType(String type)
The type of the custom line item that indicates whether the charge is a
fee or credit. |
String |
toString()
Returns a string representation of this object.
|
ListCustomLineItemChargeDetails |
withFlat(ListCustomLineItemFlatChargeDetails flat)
A
ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
ListCustomLineItemChargeDetails |
withLineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
|
ListCustomLineItemChargeDetails |
withLineItemFilters(LineItemFilter... lineItemFilters)
A representation of the line item filter.
|
ListCustomLineItemChargeDetails |
withPercentage(ListCustomLineItemPercentageChargeDetails percentage)
A
ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item. |
ListCustomLineItemChargeDetails |
withType(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a
fee or credit. |
ListCustomLineItemChargeDetails |
withType(String type)
The type of the custom line item that indicates whether the charge is a
fee or credit. |
public void setFlat(ListCustomLineItemFlatChargeDetails flat)
A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
flat - A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line
item.public ListCustomLineItemFlatChargeDetails getFlat()
A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom
line item.public ListCustomLineItemChargeDetails withFlat(ListCustomLineItemFlatChargeDetails flat)
A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item.
flat - A ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line
item.public void setPercentage(ListCustomLineItemPercentageChargeDetails percentage)
A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item.
percentage - A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage
custom line item.public ListCustomLineItemPercentageChargeDetails getPercentage()
A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item.
ListCustomLineItemPercentageChargeDetails that describes the charge details of a
percentage custom line item.public ListCustomLineItemChargeDetails withPercentage(ListCustomLineItemPercentageChargeDetails percentage)
A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage custom
line item.
percentage - A ListCustomLineItemPercentageChargeDetails that describes the charge details of a percentage
custom line item.public void setType(String type)
The type of the custom line item that indicates whether the charge is a fee or credit.
type - The type of the custom line item that indicates whether the charge is a fee or
credit.CustomLineItemTypepublic String getType()
The type of the custom line item that indicates whether the charge is a fee or credit.
fee or
credit.CustomLineItemTypepublic ListCustomLineItemChargeDetails withType(String type)
The type of the custom line item that indicates whether the charge is a fee or credit.
type - The type of the custom line item that indicates whether the charge is a fee or
credit.CustomLineItemTypepublic ListCustomLineItemChargeDetails withType(CustomLineItemType type)
The type of the custom line item that indicates whether the charge is a fee or credit.
type - The type of the custom line item that indicates whether the charge is a fee or
credit.CustomLineItemTypepublic List<LineItemFilter> getLineItemFilters()
A representation of the line item filter.
public void setLineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
lineItemFilters - A representation of the line item filter.public ListCustomLineItemChargeDetails withLineItemFilters(LineItemFilter... lineItemFilters)
A representation of the line item filter.
NOTE: This method appends the values to the existing list (if any). Use
setLineItemFilters(java.util.Collection) or withLineItemFilters(java.util.Collection) if you
want to override the existing values.
lineItemFilters - A representation of the line item filter.public ListCustomLineItemChargeDetails withLineItemFilters(Collection<LineItemFilter> lineItemFilters)
A representation of the line item filter.
lineItemFilters - A representation of the line item filter.public String toString()
toString in class ObjectObject.toString()public ListCustomLineItemChargeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.