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 PrimerPaymentMethodLogo(    val colored: Drawable?,    val light: Drawable?,    val dark: Drawable?)
kotlin
copy

Parameters

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.


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

© Primer 2023

hello@primer.io