StoredPaymentSource class

A stored payment source

Annotations
  • @JsonSerializable(fieldRename: FieldRename.snake)

Constructors

StoredPaymentSource({required PaymentInitiator paymentInitiator, required PaymentType paymentType, Usage? usage, NetworkTransactionReference? networkTransactionReference})
const
StoredPaymentSource.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
networkTransactionReference NetworkTransactionReference?
Reference values used by the card network to identify a transaction
final
paymentInitiator PaymentInitiator
The person or party who initiated or triggered the payment.
final
paymentType PaymentType
Indicates the type of the stored payment_source payment.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usage Usage?
Indicates if this is a first or subsequent payment using a stored payment source (also referred to as stored credential or card on file).
final

Methods

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

Operators

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