Package com.stripe.model
Class Source.SourceOrder
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Source.SourceOrder
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Source
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
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 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.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 order.void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
The email address of the customer placing the order.void
setItems
(List<Source.SourceOrder.Item> items) List of items constituting the order.void
setShipping
(ShippingDetails shipping) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
SourceOrder
public SourceOrder()
-
-
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()
-