Class AddCardRequest
-
- All Implemented Interfaces:
-
ru.tinkoff.acquiring.sdk.utils.Disposable,ru.tinkoff.acquiring.sdk.utils.Request
public final class AddCardRequest extends AcquiringRequest<AddCardResponse>
Инициирует привязку карты к покупателю
Mariya Chernyadieva
-
-
Field Summary
Fields Modifier and Type Field Description private StringcustomerKeyprivate StringcheckTypeprivate final StringhttpRequestMethodprivate final StringcontentType
-
Constructor Summary
Constructors Constructor Description AddCardRequest()
-
Method Summary
Modifier and Type Method Description final StringgetCustomerKey()Идентификатор покупателя в системе продавца final UnitsetCustomerKey(String customerKey)Идентификатор покупателя в системе продавца final StringgetCheckType()Тип проверки при привязке карты final UnitsetCheckType(String checkType)Тип проверки при привязке карты Map<String, Object>asMap()Unitexecute(Function1<AddCardResponse, 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
-
getCustomerKey
final String getCustomerKey()
Идентификатор покупателя в системе продавца
-
setCustomerKey
final Unit setCustomerKey(String customerKey)
Идентификатор покупателя в системе продавца
-
getCheckType
final String getCheckType()
Тип проверки при привязке карты
-
setCheckType
final Unit setCheckType(String checkType)
Тип проверки при привязке карты
-
-
-
-