Class PaymentIntent.AmountDetails.Tax

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.PaymentIntent.AmountDetails.Tax
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
PaymentIntent.AmountDetails

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

    • Tax

      public Tax()
  • Method Details

    • getTotalTaxAmount

      public Long getTotalTaxAmount()
      The total amount of tax on the transaction represented in the smallest currency unit. Required for L2 rates. An integer greater than or equal to 0.

      This field is mutually exclusive with the amount_details[line_items][#][tax][total_tax_amount] field.

    • setTotalTaxAmount

      public void setTotalTaxAmount(Long totalTaxAmount)
      The total amount of tax on the transaction represented in the smallest currency unit. Required for L2 rates. An integer greater than or equal to 0.

      This field is mutually exclusive with the amount_details[line_items][#][tax][total_tax_amount] field.

    • 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