AddCustomerRequest class
Метод регистрирует покупателя и его данные в системе продавца.
- Inheritance
- Object
- AcquiringRequest
- AddCustomerRequest
- Annotations
- @JsonSerializable(includeIfNull: false)
Constructors
- AddCustomerRequest(String customerKey, {String email, String phone, String ip, String signToken})
- Создает экземпляр метода регистрации покупателя
-
AddCustomerRequest.fromJson(Map<
String, dynamic> json) -
Преобразование json в модель
factory
Properties
- apiMethod → String
-
Метод запроса
read-only, override
- customerKey → String
-
Идентификатор платежа в системе банка
@JsonKey(name: JsonKeys.customerKey), final
- email → String
-
Электронная почта покупателя [...]
@JsonKey(name: JsonKeys.email), final
-
equals
→ Map<
String, Object> -
Объекты для сравнения
read-only, override
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- ip → String
-
IP-адрес покупателя
@JsonKey(name: JsonKeys.ip), final
- phone → String
-
Телефон покупателя [...]
@JsonKey(name: JsonKeys.phone), final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- signToken → String
-
Опциональный параметр: готовая подпись запроса
@JsonKey(name: JsonKeys.token), final, inherited
Methods
-
copyWith(
{String customerKey, String email, String phone, String ip, String signToken}) → AddCustomerRequest -
Создает экземпляр с заданными параметрами
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toJson(
) → Map< String, dynamic> -
Преобразование модели в json
override
-
toString(
) → String -
Returns a string representation of this object.
inherited
-
validate(
) → void -
Метод проверяет валидность данных
override
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited