Loading...
public class PreFinAPI
PreFinAPI - Simplified wrapper for 3rd party ECR applications to integrate with the Financial Application's Pre-Financial transaction flow.
This object wraps the IPreFinService AIDL interface so ECR apps don't have to manually implement the service binding and JSON serialization.
In your Application class or Service:
That's it! No need to manually implement AIDL services or handle JSON serialization.
| Name | Summary |
|---|---|
| PreFinServiceImpl | public final class PreFinServiceImpl extends Service Internal AIDL service implementation. This service must be declared in your AndroidManifest.xml with the appropriate intent-filter. |
| Name | Summary |
|---|---|
| isRegistered | public final static Boolean isRegistered() Check if a callback is currently registered. |
| registration | public final static Boolean registration(Contextcontext,-IPreFinCallbackcallback) Register a callback to handle transaction data during the Pre-Financial flow. |