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
For more details about SourceOrder, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about Item, please refer to the API Reference. -
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.SourceOrder.Item> items) List of items constituting the order.voidsetShipping(ShippingDetails shipping) Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, 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()
-