public static class Source.OrderItem extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
OrderItem() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
The amount (price) for this order item.
|
java.lang.String |
getCurrency()
This currency of this order item.
|
java.lang.String |
getDescription()
Human-readable description for this order item.
|
java.lang.Long |
getQuantity()
The quantity of this order item.
|
java.lang.String |
getType()
The type of this order item.
|
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
The amount (price) for this order item.
|
void |
setCurrency(java.lang.String currency)
This currency of this order item.
|
void |
setDescription(java.lang.String description)
Human-readable description for this order item.
|
void |
setQuantity(java.lang.Long quantity)
The quantity of this order item.
|
void |
setType(java.lang.String type)
The type of this order item.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.String getCurrency()
amount
is present.public java.lang.String getDescription()
public java.lang.Long getQuantity()
sku
, this is the number of instances of
the SKU to be ordered.public java.lang.String getType()
sku
, tax
, or shipping
.public void setAmount(java.lang.Long amount)
public void setCurrency(java.lang.String currency)
amount
is present.public void setDescription(java.lang.String description)
public void setQuantity(java.lang.Long quantity)
sku
, this is the number of instances of
the SKU to be ordered.public void setType(java.lang.String type)
sku
, tax
, or shipping
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
protected boolean canEqual(java.lang.Object other)
public int hashCode()
hashCode
in class java.lang.Object