Class GetStateRequest
-
- All Implemented Interfaces:
-
ru.tinkoff.acquiring.sdk.utils.Disposable,ru.tinkoff.acquiring.sdk.utils.Request
public final class GetStateRequest extends AcquiringRequest<GetStateResponse>
Возвращает статус платежа
Mariya Chernyadieva
-
-
Field Summary
Fields Modifier and Type Field Description private LongpaymentIdprivate final StringhttpRequestMethodprivate final StringcontentType
-
Constructor Summary
Constructors Constructor Description GetStateRequest()
-
Method Summary
Modifier and Type Method Description final LonggetPaymentId()Уникальный идентификатор транзакции в системе банка final UnitsetPaymentId(Long paymentId)Уникальный идентификатор транзакции в системе банка Map<String, Object>asMap()Unitexecute(Function1<GetStateResponse, Unit> onSuccess, Function1<Exception, Unit> onFailure)Синхронный вызов метода API -
Methods inherited from class ru.tinkoff.acquiring.sdk.requests.AcquiringRequest
addContentHeader, addUserAgentHeader, dispose, getContentType, getHttpRequestMethod, getRequestBody, isDisposed -
Methods inherited from class ru.tinkoff.acquiring.sdk.utils.Request
execute -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getPaymentId
final Long getPaymentId()
Уникальный идентификатор транзакции в системе банка
-
setPaymentId
final Unit setPaymentId(Long paymentId)
Уникальный идентификатор транзакции в системе банка
-
-
-
-