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