1
class PrimerPaymentMethodAsset
kotlin
copy

Parameters

properties

paymentMethodTypeStringRequired

A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoaded callback.

paymentMethodNameStringRequired

An user friendly English localized string identifier for the payment method.
Properties

coloredDrawable?

A Drawable to be used anywhere.

darkDrawable?

A Drawable to be used on dark theme.

lightDrawable?

A Drawable to be used on light theme.

paymentMethodBackgroundColorPrimerPaymentMethodBackgroundColorRequired

Properties

colored@ColorInt Int?

A @ColorInt to be used anywhere.

dark@ColorInt Int?

A @ColorInt to be used on dark theme.

light@ColorInt Int?

A @ColorInt to be used on light theme.