Package com.stripe.model
Class PaymentIntent.AmountDetails.Shipping
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AmountDetails.Shipping
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- PaymentIntent.AmountDetails
For more details about Shipping, 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 booleanbooleanIf a physical good is being shipped, the cost of shipping represented in the smallest currency unit.If a physical good is being shipped, the postal code of where it is being shipped from.If a physical good is being shipped, the postal code of where it is being shipped to.inthashCode()voidIf a physical good is being shipped, the cost of shipping represented in the smallest currency unit.voidsetFromPostalCode(String fromPostalCode) If a physical good is being shipped, the postal code of where it is being shipped from.voidsetToPostalCode(String toPostalCode) If a physical good is being shipped, the postal code of where it is being shipped to.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Shipping
public Shipping()
-
-
Method Details
-
getAmount
If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0. -
getFromPostalCode
If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. -
getToPostalCode
If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. -
setAmount
If a physical good is being shipped, the cost of shipping represented in the smallest currency unit. An integer greater than or equal to 0. -
setFromPostalCode
If a physical good is being shipped, the postal code of where it is being shipped from. At most 10 alphanumeric characters long, hyphens are allowed. -
setToPostalCode
If a physical good is being shipped, the postal code of where it is being shipped to. At most 10 alphanumeric characters long, hyphens are allowed. -
equals
-
canEqual
-
hashCode
public int hashCode()
-