Class PaymentIntent.AmountDetails.Errors

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

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

    • Errors

      public Errors()
  • Method Details

    • getCode

      public String getCode()
      The code of the error that occurred when validating the current amount details.

      One of amount_details_amount_mismatch, or amount_details_tax_shipping_discount_greater_than_amount.

    • getMessage

      public String getMessage()
      A message providing more details about the error.
    • setCode

      public void setCode(String code)
      The code of the error that occurred when validating the current amount details.

      One of amount_details_amount_mismatch, or amount_details_tax_shipping_discount_greater_than_amount.

    • setMessage

      public void setMessage(String message)
      A message providing more details about the error.
    • 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