A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
Returns
Hide PrimerPaymentMethodResource
Show Properties
String
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
String
required
A user friendly English localized string identifier for the payment method.
PrimerPaymentMethodLogo
required
Hide Properties
Drawable?
A Drawable to be used anywhere.
Drawable?
A Drawable to be used on dark theme.
Drawable?
A Drawable to be used on light theme.
PrimerPaymentMethodBackgroundColor
required
Hide Properties
@ColorInt Int?
A @ColorInt to be used anywhere.
@ColorInt Int?
A @ColorInt to be used on dark theme.
@ColorInt Int?
A @ColorInt to be used on light theme.
Show Properties
String
required
A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodsLoaded callback.
String
required
A user friendly English localized string identifier for the payment method.
createView: (Context) -> View
required
A function to create a native view.
Throws
Hide Throws
An exception that will be thrown in case the SDK was not initialized properly.
Before calling any of the manager’s method, the SDK must be initialized using start method.