Package com.stripe.model
Class Order.ShippingMethod
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Order.ShippingMethod
- All Implemented Interfaces:
HasId
,StripeObjectInterface
- Enclosing class:
Order
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
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.Three-letter ISO currency code, in lowercase.The estimated delivery date for the given shipping method.An arbitrary string attached to the object.getId()
Unique identifier for the object.int
hashCode()
void
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
(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
(String description) An arbitrary string attached to the object.void
Unique identifier for the object.Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ShippingMethod
public ShippingMethod()
-
-
Method Details
-
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. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDeliveryEstimate
The estimated delivery date for the given shipping method. Can be either a specific date or a range. -
getDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
setAmount
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. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDeliveryEstimate
The estimated delivery date for the given shipping method. Can be either a specific date or a range. -
setDescription
An arbitrary string attached to the object. Often useful for displaying to users. -
setId
Unique identifier for the object. -
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
Unique identifier for the object.
-