ConfirmRequest class
Метод подтверждает платеж и списывает ранее заблокированные средства. Используется при двухстадийной оплате. При одностадийной оплате вызывается автоматически.
Применим только к платежам в статусе AUTHORIZED
.
Статус транзакции перед разблокировкой выставляется в CONFIRMING
.
Сумма списания может быть меньше или равна сумме авторизации.
Сумма подтверждения не может быть больше заблокированной.
Если сумма подтверждения меньше заблокированной, будет выполнено частичное подтверждение.
- Inheritance
-
- Object
- BaseRequest
- AcquiringRequest
- ConfirmRequest
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
Properties
- amount → int?
-
Сумма в копейках
final
- apiMethod → String
-
Метод запроса
no setteroverride
- apiMethodPath → String
-
Полный путь до метода запроса (версия + метод)
no setterinherited
- apiVersion → String
-
Версия метода запроса
no setterinherited
-
equals
→ Map<
String, Object?> -
Comparison objects
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, String> -
Заголовок метода
no setterinherited
-
ignoredFields
→ Set<
String> -
Список игнорируемых полей при создании токена запроса
no setterinherited
- ip → String?
-
IP-адрес покупателя
final
- paymentId → int
-
Идентификатор платежа в системе банка
final
- receipt → Receipt?
-
Массив данных чека.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
shops
→ List<
Shops> ? -
Массив объектов с данными Маркетплейса
final
- signToken → String?
-
Опциональный параметр: готовая подпись запроса
finalinherited
Methods
-
compareLists<
R> (List< R> ? list1, List<R> ? list2) → bool -
Determines whether
list1
andlist2
are equal.inherited -
copyWith(
{String? signToken, int? paymentId, int? amount, String? ip, Receipt? receipt, List< Shops> ? shops}) → ConfirmRequest -
Создает экземпляр с заданными параметрами
override
-
genHash<
R> (Iterable< R> ? values) → int -
Returns a
hashCode
forequals
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Преобразование модели в json
override
-
toString(
) → String -
A string representation of this object.
inherited
-
validate(
) → void -
Метод проверяет валидность данных
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited