Class Intent.AmountDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.v2.billing.Intent.AmountDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Intent

public static class Intent.AmountDetails extends StripeObject
For more details about AmountDetails, please refer to the API Reference.
  • Constructor Details

    • AmountDetails

      public AmountDetails()
  • Method Details

    • getCurrency

      public String getCurrency()
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • getDiscount

      public String getDiscount()
      Amount of discount applied.
    • getShipping

      public String getShipping()
      Amount of shipping charges.
    • getSubtotal

      public String getSubtotal()
      Subtotal amount before tax and discounts.
    • getTax

      public String getTax()
      Amount of tax.
    • getTotal

      public String getTotal()
      Total amount for the Billing Intent.
    • setCurrency

      public void setCurrency(String currency)
      Three-letter ISO currency code, in lowercase. Must be a supported currency.
    • setDiscount

      public void setDiscount(String discount)
      Amount of discount applied.
    • setShipping

      public void setShipping(String shipping)
      Amount of shipping charges.
    • setSubtotal

      public void setSubtotal(String subtotal)
      Subtotal amount before tax and discounts.
    • setTax

      public void setTax(String tax)
      Amount of tax.
    • setTotal

      public void setTotal(String total)
      Total amount for the Billing Intent.
    • 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