SavedWallet class
A wallet account the customer previously saved. channel is PaymentChannel.channelId as a string; match it against PaymentSessionDetails.channels to find the channel's name/code/logo.
Constructors
- SavedWallet({required int id, required String msisdn, required String channel, required String customerToken})
-
SavedWallet.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channel → String
-
The channelId this saved wallet belongs to, as a string.
final
- customerToken → String
-
Not currently used to submit a payment.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
final
- maskedForDisplay → String
-
"<first 4 digits>***<last 4 digits>", regardless of whether already masked.no setter - msisdn → String
-
May already be masked by the server - maskedForDisplay re-masks defensively either way.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited