API GuideDashboard
Home
Payments
Automation
Payment Methods
SDK Reference
Changelog
SDK Reference
OverviewInstallationPrimerPrimerHeadlessUniversalCheckout
METHODS
startsetCheckoutListenersetCheckoutUiListenercleanup
LISTENERS
PrimerHeadlessUniversalCheckoutListenerPrimerHeadlessUniversalCheckoutUiListener
ASSETS MANAGERS
getPaymentMethodAssetsgetPaymentMethodAssetgetCardNetworkImage
NATIVE UI MANAGER
newInstanceshowPaymentMethod
RAW DATA MANAGER
newInstanceconfiguregetRequiredInputElementTypessetListenersetRawDatasubmitcleanup
RAW DATA MANAGER LISTENER
PrimerHeadlessUniversalCheckoutRawDataManagerListener
CARD COMPONENTS MANAGER
newInstancesetCardManagerListenergetRequiredInputElementTypessetInputElementsisCardFormValidsubmit
CARD COMPONENTS MANAGER LISTENER
PrimerCardComponentsManagerListener
PRIMER INPUT ELEMENT LISTENER
PrimerInputElementListener
Common objects
12345
data class PrimerPaymentMethodBackgroundColor(    @ColorInt val colored: Int?,    @ColorInt val light: Int?,    @ColorInt val dark: Int?)
kotlin
copy

Parameters

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.


Product
AutomationPaymentsObservabilityReconciliationConnections
Developers
Primer DocsAPI ReferenceCommunityService Status
Company
BlogCase StudiesNewsroomTeamCareers
Resources
Press KitTermsPrivacy
DiscordLinkedInTwitterInstagramYouTubeFigma

© Primer 2023

hello@primer.io