toggle menu
stripe-android
androidJvm
switch theme
search in API
paymentsheet
/
com.stripe.android.paymentsheet
/
PaymentSheet
/
PrimaryButtonColors
/
PrimaryButtonColors
Primary
Button
Colors
constructor
(
background
:
Int
?
,
onBackground
:
Int
,
border
:
Int
)
constructor
(
background
:
Color
?
,
onBackground
:
Color
,
border
:
Color
)
constructor
(
background
:
Color
?
,
onBackground
:
Color
,
border
:
Color
,
successBackgroundColor
:
Color
=
PRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR
,
onSuccessBackgroundColor
:
Color
=
onBackground
)
constructor
(
@
ColorInt
background
:
Int
?
,
@
ColorInt
onBackground
:
Int
,
@
ColorInt
border
:
Int
,
@
ColorInt
successBackgroundColor
:
Int
=
PRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR.toArgb()
,
@
ColorInt
onSuccessBackgroundColor
:
Int
=
onBackground
)