Class Session.CurrencyConversion

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.CurrencyConversion
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.CurrencyConversion extends StripeObject
  • Constructor Details

    • CurrencyConversion

      public CurrencyConversion()
  • Method Details

    • getAmountSubtotal

      public Long getAmountSubtotal()
      Total of all items in source currency before discounts or taxes are applied.
    • getAmountTotal

      public Long getAmountTotal()
      Total of all items in source currency after discounts and taxes are applied.
    • getFxRate

      public BigDecimal getFxRate()
      Exchange rate used to convert source currency amounts to customer currency amounts.
    • getSourceCurrency

      public String getSourceCurrency()
      Creation currency of the CheckoutSession before localization.
    • setAmountSubtotal

      public void setAmountSubtotal(Long amountSubtotal)
      Total of all items in source currency before discounts or taxes are applied.
    • setAmountTotal

      public void setAmountTotal(Long amountTotal)
      Total of all items in source currency after discounts and taxes are applied.
    • setFxRate

      public void setFxRate(BigDecimal fxRate)
      Exchange rate used to convert source currency amounts to customer currency amounts.
    • setSourceCurrency

      public void setSourceCurrency(String sourceCurrency)
      Creation currency of the CheckoutSession before localization.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object