PayerModel class
Modelo que representa os dados do cliente que efetua o pagamento
Constructors
- PayerModel({String? cpfOrCnpj, String? name, String? phonePrefix, String? phone, String? email, AddressModel? address})
- PayerModel.fromJson(String source)
-
factory
-
PayerModel.fromMap(Map<
String, dynamic> map) -
factory
Properties
- address ↔ AddressModel?
-
Endereço do Cliente (utilizado em caso de pagamento em boleto)
getter/setter pair
- cpfOrCnpj ↔ String?
-
CPF ou CNPJ do Cliente
getter/setter pair
- email ↔ String?
-
E-mail do Cliente
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- name ↔ String?
-
Nome (utilizado como sacado em caso de pagamentos em boleto)
getter/setter pair
- phone ↔ String?
-
Telefone
getter/setter pair
- phonePrefix ↔ String?
-
Prefixo do Telefone (Ex: 11 para São Paulo)
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{String? cpfOrCnpj, String? name, String? phonePrefix, String? phone, String? email, AddressModel? address}) → PayerModel -
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