Package com.stripe.model
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
For more details about Errors, please refer to the API
Reference.
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangetCode()The code of the error that occurred when validating the current amount details.A message providing more details about the error.inthashCode()voidThe code of the error that occurred when validating the current amount details.voidsetMessage(String message) A message providing more details about the error.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Errors
public Errors()
-
-
Method Details
-
getCode
The code of the error that occurred when validating the current amount details.One of
amount_details_amount_mismatch, oramount_details_tax_shipping_discount_greater_than_amount. -
getMessage
A message providing more details about the error. -
setCode
The code of the error that occurred when validating the current amount details.One of
amount_details_amount_mismatch, oramount_details_tax_shipping_discount_greater_than_amount. -
setMessage
A message providing more details about the error. -
equals
-
canEqual
-
hashCode
public int hashCode()
-