PaymentMethod class final

A reusable or ephemeral way to pay, including its owner and verification state.

Inspect type before reading the type-specific mobileMoney, bankAccount, or card projection.

Available extensions

Constructors

PaymentMethod({required bool active, DateTime? archivedAt, BankAccount? bankAccount, Card? card, required DateTime createdAt, CustomData? customData, required String customerId, bool? ephemeral, DateTime? expiresOn, required String fingerprint, required String id, MobileMoney? mobileMoney, Owner? owner, required Type type, Supplied? supplied, Verification? verification, DateTime? verifiedAt})
const
PaymentMethod.fromJson(Map<String, Object?> json)
factory

Properties

active → bool
final
archivedAt → DateTime?
final
bankAccount → BankAccount?
final
card → Card?
final
createdAt → DateTime
final
customData → CustomData?
final
customerId → String
final
ephemeral → bool?
final
expiresOn → DateTime?
final
fingerprint → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
isArchived → bool

Available on PaymentMethod, provided by the PaymentMethodSemantics extension

no setter
isReusable → bool

Available on PaymentMethod, provided by the PaymentMethodSemantics extension

no setter
isVerified → bool

Available on PaymentMethod, provided by the PaymentMethodSemantics extension

no setter
mobileMoney → MobileMoney?
final
owner → Owner?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supplied → Supplied?
final
type → Type
final
verification → Verification?
final
verifiedAt → DateTime?
final

Methods

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.
inherited

Operators

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