Adapters - edfapay/edfa-pg-android-sdk GitHub Wiki
This page describes the EdfaPg 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 EdfaPgSDK class as the inner object.
For example, to acquire the SALE adapter, call the following function:
EdfaPgSDK.Adapter.SALE
The acquiring of each Adapter will check the EdfaPgSDK initialization status.
The EdfaPgSdkIsNotInitializedException
will be thrown in case of failed initialization.
This is the list of all possible EdfaPg Android SDK Adapters:
Adapter | Description |
---|---|
EdfaPgSDK.Adapter.SALE |
Creates SALE or AUTH transaction |
EdfaPgSDK.Adapter.CAPTURE |
Creates CAPTURE transaction |
EdfaPgSDK.Adapter.CREDITVOID |
Creates REVERSAL or REFUND transaction |
EdfaPgSDK.Adapter.GET_TRANS_STATUS |
Gets status of the transaction in Payment Platform |
EdfaPgSDK.Adapter.GET_TRANS_DETAILS |
Gets details of the order from Payment platform |
EdfaPgSDK.Adapter.RECURRING_SALE |
Creates SALE or AUTH transaction using previously used cardholder data |