@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. |
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) |
void |
setFlat(ListCustomLineItemFlatChargeDetails flat)
A
ListCustomLineItemFlatChargeDetails that describes the charge details of a flat custom line item. |
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 |
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 String toString()
toString in class ObjectObject.toString()public ListCustomLineItemChargeDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.