Package com.stripe.model.v2.billing
Class Intent.AmountDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Intent.AmountDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Intent
For more details about AmountDetails, 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
Three-letter ISO currency code, in lowercase.Amount of discount applied.Amount of shipping charges.Subtotal amount before tax and discounts.getTax()
Amount of tax.getTotal()
Total amount for the Billing Intent.int
hashCode()
void
setCurrency
(String currency) Three-letter ISO currency code, in lowercase.void
setDiscount
(String discount) Amount of discount applied.void
setShipping
(String shipping) Amount of shipping charges.void
setSubtotal
(String subtotal) Subtotal amount before tax and discounts.void
Amount of tax.void
Total amount for the Billing Intent.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
AmountDetails
public AmountDetails()
-
-
Method Details
-
getCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
getDiscount
Amount of discount applied. -
getShipping
Amount of shipping charges. -
getSubtotal
Subtotal amount before tax and discounts. -
getTax
Amount of tax. -
getTotal
Total amount for the Billing Intent. -
setCurrency
Three-letter ISO currency code, in lowercase. Must be a supported currency. -
setDiscount
Amount of discount applied. -
setShipping
Amount of shipping charges. -
setSubtotal
Subtotal amount before tax and discounts. -
setTax
Amount of tax. -
setTotal
Total amount for the Billing Intent. -
equals
-
canEqual
-
hashCode
public int hashCode()
-