-
- All Implemented Interfaces:
public final class TinkoffAcquiringТочка входа для взаимодействия с Acquiring SDK
В некоторых случаях для формирования запросов к API может потребоваться генерация токена для подписи запроса, см. AcquiringSdk.tokenGenerator.
-
-
Field Summary
Fields Modifier and Type Field Description private final AcquiringSdksdk
-
Constructor Summary
Constructors Constructor Description TinkoffAcquiring(Context context, String terminalKey, String publicKey)
-
Method Summary
Modifier and Type Method Description final AcquiringSdkgetSdk()final UnitinitSbpPaymentSession()Создает платежную сессию в рамках оплаты по Системе быстрых платежей final UnitinitTinkoffPayPaymentSession()Создает платежную сессию в рамках оплаты по tinkoffPay final UnitinitMirPayPaymentSession()Создает платежную сессию в рамках оплаты по MirPay final UnitcheckTerminalInfo(Function1<TerminalInfo, Unit> onSuccess, Function1<Throwable, Unit> onFailure)Проверка доступных спосбов оплаты final AttachCardOptionsattachCardOptions(Function1<AttachCardOptions, Unit> setup)final SavedCardsOptionssavedCardsOptions(Function1<SavedCardsOptions, Unit> setup)-
-
Method Detail
-
getSdk
final AcquiringSdk getSdk()
-
initSbpPaymentSession
@MainThread() final Unit initSbpPaymentSession()
Создает платежную сессию в рамках оплаты по Системе быстрых платежей
-
initTinkoffPayPaymentSession
@MainThread() final Unit initTinkoffPayPaymentSession()
Создает платежную сессию в рамках оплаты по tinkoffPay
-
initMirPayPaymentSession
@MainThread() final Unit initMirPayPaymentSession()
Создает платежную сессию в рамках оплаты по MirPay
-
checkTerminalInfo
final Unit checkTerminalInfo(Function1<TerminalInfo, Unit> onSuccess, Function1<Throwable, Unit> onFailure)
Проверка доступных спосбов оплаты
-
attachCardOptions
final AttachCardOptions attachCardOptions(Function1<AttachCardOptions, Unit> setup)
-
savedCardsOptions
final SavedCardsOptions savedCardsOptions(Function1<SavedCardsOptions, Unit> setup)
-
-
-
-