ApiErrors class final

APIErrors

Constructors

ApiErrors({String? charge, ApiErrorsCode? code, String? declineCode, String? docUrl, String? message, String? param, PaymentIntent? paymentIntent, PaymentMethod? paymentMethod, String? paymentMethodType, String? requestLogUrl, SetupIntent? setupIntent, PaymentSource? source, required ApiErrorsType type})
APIErrors
const
ApiErrors.fromJson(Object? json)
factory

Properties

charge String?
final
code ApiErrorsCode?
final
declineCode String?
final
docUrl String?
final
hashCode int
The hash code for this object.
no setterinherited
message String?
final
param String?
final
paymentIntent PaymentIntent?
final
paymentMethod PaymentMethod?
final
paymentMethodType String?
final
requestLogUrl String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
setupIntent SetupIntent?
final
source PaymentSource?
final
type ApiErrorsType
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(ApiErrors instance, Encoder<V> encoder) → V