Skip to content

Adapters

Zohaib edited this page Feb 9, 2023 · 3 revisions

This page describes the ExpressPay Android SDK adapters.

Adapters

Adapter maps the raw Payment Platform API Action to the native Android SDK method.

All of the adapters listed in the ExpressPaySDK class as the inner object.

For example, to acquire the SALE adapter, call the following function:

ExpressPaySDK.Adapter.SALE

The acquiring of each Adapter will check the ExpressPaySDK initialization status.

The ExpressPaySdkIsNotInitializedException will be thrown in case of failed initialization.

This is the list of all possible ExpressPay Android SDK Adapters:

Adapter Description
ExpressPaySDK.Adapter.SALE Creates SALE or AUTH transaction
ExpressPaySDK.Adapter.CAPTURE Creates CAPTURE transaction
ExpressPaySDK.Adapter.CREDITVOID Creates REVERSAL or REFUND transaction
ExpressPaySDK.Adapter.GET_TRANS_STATUS Gets status of the transaction in Payment Platform
ExpressPaySDK.Adapter.GET_TRANS_DETAILS Gets details of the order from Payment platform
ExpressPaySDK.Adapter.RECURRING_SALE Creates SALE or AUTH transaction using previously used cardholder data

ExpressPay

The ExpressPay Android SDK - https://expresspay.sa

Clone this wiki locally