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 boolean
boolean
Portion of the amount that is for shipping.The postal code that represents the shipping source.The postal code that represents the shipping destination.int
hashCode()
void
Portion of the amount that is for shipping.void
setFromPostalCode
(String fromPostalCode) The postal code that represents the shipping source.void
setToPostalCode
(String toPostalCode) The postal code that represents the shipping destination.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
Portion of the amount that is for shipping. -
getFromPostalCode
The postal code that represents the shipping source. -
getToPostalCode
The postal code that represents the shipping destination. -
setAmount
Portion of the amount that is for shipping. -
setFromPostalCode
The postal code that represents the shipping source. -
setToPostalCode
The postal code that represents the shipping destination. -
equals
-
canEqual
-
hashCode
public int hashCode()
-