PaymentMethod class

Annotations

Constructors

PaymentMethod()
PaymentMethod.fromJson(Map<String, dynamic> json)
factory

Properties

brand String
read / write
cardHolder String
read / write
clientId String
read / write
discount double
read / write
finalNumber String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
info String
read / write
name String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
type int
read / write

Methods

displayName() String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

Static Methods

brandImage(String brand) AssetImage

Constants

BRANDS → const List<String>
['AmEx', 'Elo', 'Hipercard', 'MasterCard', 'Visa', 'CredSystem', 'Outro']
7
TYPE_BANKSLIP → const int
3
TYPE_CREDIT → const int
1
TYPE_DEBIT → const int
5
TYPE_ON_STORE → const int
2
TYPE_PIX → const int
6
TYPE_VOUCHER → const int
4