Package com.stripe.model
Class Source.Order
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.Order
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
Source
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanA 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.Three-letter ISO currency code, in lowercase.getEmail()The email address of the customer placing the order.getItems()List of items constituting the order.inthashCode()voidA 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.voidsetCurrency(String currency) Three-letter ISO currency code, in lowercase.voidThe email address of the customer placing the order.voidsetItems(List<Source.OrderItem> items) List of items constituting the order.voidsetShipping(ShippingDetails shipping) Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Order
public Order()
-
-
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 order. -
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getEmail
The email address of the customer placing the order. -
getItems
List of items constituting the order. -
getShipping
-
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 order. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setEmail
The email address of the customer placing the order. -
setItems
List of items constituting the order. -
setShipping
-
equals
-
canEqual
-
hashCode
public int hashCode()
-