PaymentInfoModel class
Modelo que contém informações de pagamento
Constructors
- PaymentInfoModel({String? number, String? verificationValue, String? firstName, String? lastName, String? month, String? year})
- PaymentInfoModel.fromJson(String source)
-
factory
-
PaymentInfoModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
- firstName ↔ String?
-
Nome do Cliente como está no Cartão
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastName ↔ String?
-
Sobrenome do Cliente como está no Cartão
getter/setter pair
- month ↔ String?
-
Mês de Vencimento no Formato MM (Ex: 01, 02, 12)
getter/setter pair
- number ↔ String?
-
Número do Cartão de Crédito
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verificationValue ↔ String?
-
CVV do Cartão de Crédito
getter/setter pair
- year ↔ String?
-
Ano de Vencimento no Formato YYYY (2014, 2015, 2016)
getter/setter pair
Methods
-
copyWith(
{String? number, String? verificationValue, String? firstName, String? lastName, String? month, String? year}) → PaymentInfoModel -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object o) → bool -
The equality operator.
override