public final class HyperwalletTransferMethodUi
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
clearInstance() |
static HyperwalletTransferMethodUi |
getDefault() |
static HyperwalletTransferMethodUi |
getInstance(android.content.Context context,
HyperwalletAuthenticationTokenProvider authenticationTokenProvider)
Returns an instance that will also initialize the Insights library.
|
android.content.Intent |
getIntentAddTransferMethodActivity(android.content.Context context,
java.lang.String country,
java.lang.String currency,
java.lang.String transferMethodType,
java.lang.String profileType,
boolean lockScreenToPortrait) |
android.content.Intent |
getIntentListTransferMethodActivity(android.content.Context context,
boolean lockScreenToPortrait) |
android.content.Intent |
getIntentSelectTransferMethodActivity(android.content.Context context,
boolean lockScreenToPortrait) |
android.content.Intent |
getIntentUpdateTransferMethodActivity(android.content.Context context,
java.lang.String transferMethodToken,
boolean lockScreenToPortrait) |
public static HyperwalletTransferMethodUi getInstance(android.content.Context context, HyperwalletAuthenticationTokenProvider authenticationTokenProvider)
context - A Context of the application consuming this Intent.authenticationTokenProvider - An implementation of the HyperwalletAuthenticationTokenProviderpublic static HyperwalletTransferMethodUi getDefault()
public android.content.Intent getIntentListTransferMethodActivity(android.content.Context context,
boolean lockScreenToPortrait)
context - A Context of the application consuming this Intent.lockScreenToPortrait - if set true screen will be locked to Portrait mode;
otherwise false screen will follow whatever the
device orientation is directed.ListTransferMethodActivitypublic android.content.Intent getIntentSelectTransferMethodActivity(android.content.Context context,
boolean lockScreenToPortrait)
context - A Context of the application consuming this Intent.\lockScreenToPortrait - if set true screen will be locked to Portrait mode;
otherwise false screen will follow whatever the
device orientation is directed.HyperwalletIntent.ACTION_SELECT_TRANSFER_METHODpublic android.content.Intent getIntentAddTransferMethodActivity(android.content.Context context,
java.lang.String country,
java.lang.String currency,
java.lang.String transferMethodType,
java.lang.String profileType,
boolean lockScreenToPortrait)
context - A Context of the application consuming this Intent.country - The transfer method country code. ISO 3166-1 alpha-2 format.currency - The transfer method currency code. ISO 4217 format.transferMethodType - The type of transfer method. For a complete list of transfer methods, see TransferMethod.TransferMethodTypesprofileType - The type of the account holder profile. For a complete list of options, see
User.ProfileTypeslockScreenToPortrait - if set true screen will be locked to Portrait mode;
otherwise false screen will follow whatever the
device orientation is directed.AddTransferMethodActivitypublic android.content.Intent getIntentUpdateTransferMethodActivity(android.content.Context context,
java.lang.String transferMethodToken,
boolean lockScreenToPortrait)
context - A Context of the application consuming this Intent.transferMethodToken - The Transfer method token.lockScreenToPortrait - if set true screen will be locked to Portrait mode;
otherwise false screen will follow whatever the
device orientation is directed.UpdateTransferMethodActivitypublic static void clearInstance()