Class RemoveCardRequest
-
- All Implemented Interfaces:
-
ru.tinkoff.acquiring.sdk.utils.Disposable,ru.tinkoff.acquiring.sdk.utils.Request
public final class RemoveCardRequest extends AcquiringRequest<RemoveCardResponse>
Удаляет привязанную карту
Mariya Chernyadieva
-
-
Field Summary
Fields Modifier and Type Field Description private StringcardIdprivate StringcustomerKeyprivate final StringhttpRequestMethodprivate final StringcontentType
-
Constructor Summary
Constructors Constructor Description RemoveCardRequest()
-
Method Summary
Modifier and Type Method Description final StringgetCardId()Идентификатор карты final UnitsetCardId(String cardId)Идентификатор карты final StringgetCustomerKey()Идентификатор покупателя в системе продавца, к которому привязана карта final UnitsetCustomerKey(String customerKey)Идентификатор покупателя в системе продавца, к которому привязана карта Map<String, Object>asMap()Unitexecute(Function1<RemoveCardResponse, Unit> onSuccess, Function1<Exception, Unit> onFailure)Синхронный вызов метода API final Flow<RequestResult<out RemoveCardResponse>>executeFlow()Реактивный вызов метода 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
-
getCustomerKey
final String getCustomerKey()
Идентификатор покупателя в системе продавца, к которому привязана карта
-
setCustomerKey
final Unit setCustomerKey(String customerKey)
Идентификатор покупателя в системе продавца, к которому привязана карта
-
execute
Unit execute(Function1<RemoveCardResponse, Unit> onSuccess, Function1<Exception, Unit> onFailure)
Синхронный вызов метода API
-
executeFlow
final Flow<RequestResult<out RemoveCardResponse>> executeFlow()
Реактивный вызов метода API
-
-
-
-