-
- All Implemented Interfaces:
public class Connect
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
Connect.ProviderMode
Select the transaction type.
-
Method Summary
Modifier and Type Method Description static IPaymentProvider
getProvider(@NonNull() Context context, @NonNull() Connect.ProviderMode providerMode)
Returns an instance for the requested payment provider with the given parameter. static String
getVersion()
Returns the version of library. -
-
Method Detail
-
getProvider
@NonNull() static IPaymentProvider getProvider(@NonNull() Context context, @NonNull() Connect.ProviderMode providerMode)
Returns an instance for the requested payment provider with the given parameter. This is one entry point to the oppwa.mobile.connect framework. It takes the provider name and the shopper result url.
- Parameters:
context
- The context of the android application/activityproviderMode
- Select the ProviderMode, the library should operate in.
-
getVersion
@NonNull() static String getVersion()
Returns the version of library.
-
-
-
-