Package com.stripe.model.checkout
Class Session.CurrencyConversion
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CurrencyConversion
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
Determines the position and visibility of the payment method reuse agreement in the UI.
When set to
auto
, Stripe's defaults will be used.
When set to hidden
, the payment method reuse agreement text will always be
hidden in the UI.
One of auto
, or hidden
.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Total of all items in source currency before discounts or taxes are applied.Total of all items in source currency after discounts and taxes are applied.Exchange rate used to convert source currency amounts to customer currency amounts.Creation currency of the CheckoutSession before localization.int
hashCode()
void
setAmountSubtotal
(Long amountSubtotal) Total of all items in source currency before discounts or taxes are applied.void
setAmountTotal
(Long amountTotal) Total of all items in source currency after discounts and taxes are applied.void
setFxRate
(BigDecimal fxRate) Exchange rate used to convert source currency amounts to customer currency amounts.void
setSourceCurrency
(String sourceCurrency) Creation currency of the CheckoutSession before localization.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
CurrencyConversion
public CurrencyConversion()
-
-
Method Details
-
getAmountSubtotal
Total of all items in source currency before discounts or taxes are applied. -
getAmountTotal
Total of all items in source currency after discounts and taxes are applied. -
getFxRate
Exchange rate used to convert source currency amounts to customer currency amounts. -
getSourceCurrency
Creation currency of the CheckoutSession before localization. -
setAmountSubtotal
Total of all items in source currency before discounts or taxes are applied. -
setAmountTotal
Total of all items in source currency after discounts and taxes are applied. -
setFxRate
Exchange rate used to convert source currency amounts to customer currency amounts. -
setSourceCurrency
Creation currency of the CheckoutSession before localization. -
equals
-
canEqual
-
hashCode
public int hashCode()
-