RecurrentRequest class

Информация о запросе для создания подписки на рекуррентные платежи

Annotations
  • @freezed

Constructors

RecurrentRequest({required String token, required String accountId, required String description, required String amount, required DateTime startDate, required String interval, required int period, @Default(false) bool requireConfirmation, @Default('RUB') String currency, int? maxPeriods, String? email, Map<String, dynamic>? customerReceipt})
Информация о запросе для создания подписки на рекуррентные платежи
factory
RecurrentRequest.fromJson(Map<String, dynamic> json)
Converts a JSON Map into a RecurrentRequest instance
factory

Properties

accountId String
Обязательный идентификатор пользователя для создания подписки
no setterinherited
amount String
Сумма платежа. Должна быть больше 0
no setterinherited
copyWith → $RecurrentRequestCopyWith<RecurrentRequest>
no setterinherited
currency String
Валюта: RUB/USD/EUR/GBP (см. справочник).
no setterinherited
customerReceipt Map<String, dynamic>?
Для изменения состава онлайн-чека
no setterinherited
description String
Назначение платежа в свободной форме
no setterinherited
email String?
E-mail плательщика
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
interval String
Интервал. Возможные значения: Day, Week, Month
no setterinherited
maxPeriods int?
Максимальное количество платежей в подписке.
no setterinherited
period int
Период. В комбинации с интервалом interval
no setterinherited
requireConfirmation bool
Если значение true — платежи будут выполняться по двухстадийной схеме
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDate DateTime
Дата и время первого платежа по плану во временной зоне UTC.
no setterinherited
token String
Токен карты, выданный системой после первого платежа
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited