public static class Order.ShippingMethod extends StripeObject implements HasId
Modifier and Type | Class and Description |
---|---|
static class |
Order.ShippingMethod.DeliveryEstimate |
PRETTY_PRINT_GSON
Constructor and Description |
---|
ShippingMethod() |
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 line item.
|
java.lang.String |
getCurrency()
Three-letter ISO currency
code, in lowercase.
|
Order.ShippingMethod.DeliveryEstimate |
getDeliveryEstimate()
The estimated delivery date for the given shipping method.
|
java.lang.String |
getDescription()
An arbitrary string attached to the object.
|
java.lang.String |
getId()
Unique identifier for the object.
|
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 line item.
|
void |
setCurrency(java.lang.String currency)
Three-letter ISO currency
code, in lowercase.
|
void |
setDeliveryEstimate(Order.ShippingMethod.DeliveryEstimate deliveryEstimate)
The estimated delivery date for the given shipping method.
|
void |
setDescription(java.lang.String description)
An arbitrary string attached to the object.
|
void |
setId(java.lang.String id)
Unique identifier for the object.
|
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
public java.lang.Long getAmount()
public java.lang.String getCurrency()
public Order.ShippingMethod.DeliveryEstimate getDeliveryEstimate()
public java.lang.String getDescription()
public void setAmount(java.lang.Long amount)
public void setCurrency(java.lang.String currency)
public void setDeliveryEstimate(Order.ShippingMethod.DeliveryEstimate deliveryEstimate)
public void setDescription(java.lang.String description)
public void setId(java.lang.String id)
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