AccountOnFile class
Represents an AccountOnFile object.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
AccountOnFile.new(String id, String paymentProductId, AccountOnFileDisplayHints displayHints, {List<
AccountOnFileAttribute> attributes = const []}) -
AccountOnFile.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
attributes
→ List<
AccountOnFileAttribute> -
Attributes for this AccountOnFile
final
- displayHints → AccountOnFileDisplayHints
-
The display hints for this AccountOnFile
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- paymentProductId → String
-
Identifier of the PaymentProduct that this AccountOnFile is linked to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLabel(
) → String - Returns the label which can be displayed on an AccountOnFile selection screen.
-
getMaskedValue(
String fieldId) → Future< String> -
Returns the masked value for the given payment product
fieldId
. -
getMaskedValueWithCustomMask(
String fieldId, String mask) → Future< String> -
Returns the value for the given payment product
fieldId
with a custommask
applied. -
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited