Snapshot class final

An immutable payment-method snapshot attached to another resource.

Exposes id, bankAccount, card, and createdAt, among other contract fields.

Constructors

Snapshot({required String id, SnapshotBankAccount? bankAccount, Card? card, required DateTime createdAt, required String customerId, SnapshotMobileMoney? mobileMoney, SnapshotOwner? owner, required Type type, required bool verified, DateTime? verifiedAt})
const
Snapshot.fromJson(Map<String, Object?> json)
factory

Properties

bankAccount → SnapshotBankAccount?
final
card → Card?
final
createdAt → DateTime
final
customerId → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
mobileMoney → SnapshotMobileMoney?
final
owner → SnapshotOwner?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → Type
final
verified → bool
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