public static class Source.Order extends StripeObject
PRETTY_PRINT_GSON
Constructor and Description |
---|
Order() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.Long |
getAmount()
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1,
Japanese Yen being a zero-decimal currency) representing the total amount for the order.
|
java.lang.String |
getCurrency()
Three-letter ISO currency
code, in lowercase.
|
java.lang.String |
getEmail()
The email address of the customer placing the order.
|
java.util.List<Source.OrderItem> |
getItems()
List of items constituting the order.
|
ShippingDetails |
getShipping() |
int |
hashCode() |
void |
setAmount(java.lang.Long amount)
A positive integer in the smallest currency unit (that is, 100 cents for $1.00, or 1 for ¥1,
Japanese Yen being a zero-decimal currency) representing the total amount for the order.
|
void |
setCurrency(java.lang.String currency)
Three-letter ISO currency
code, in lowercase.
|
void |
setEmail(java.lang.String email)
The email address of the customer placing the order.
|
void |
setItems(java.util.List<Source.OrderItem> items)
List of items constituting the order.
|
void |
setShipping(ShippingDetails shipping) |
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.String getCurrency()
public java.lang.String getEmail()
public java.util.List<Source.OrderItem> getItems()
public ShippingDetails getShipping()
public void setAmount(java.lang.Long amount)
public void setCurrency(java.lang.String currency)
public void setEmail(java.lang.String email)
public void setItems(java.util.List<Source.OrderItem> items)
public void setShipping(ShippingDetails 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