stripe-android
Toggle table of contents
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
stripe-android
paymentsheet
/
com.stripe.android.paymentsheet
/
PaymentSheet
/
PrimaryButtonColors
Primary
Button
Colors
class
PrimaryButtonColors
(
@
ColorInt
background
:
Int
?
,
@
ColorInt
onBackground
:
Int
,
@
ColorInt
border
:
Int
,
@
ColorInt
successBackgroundColor
:
Int
=
PRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR.toArgb()
,
@
ColorInt
onSuccessBackgroundColor
:
Int
=
onBackground
)
:
Parcelable
Members
Constructors
Primary
Button
Colors
Link copied to clipboard
constructor
(
@
ColorInt
background
:
Int
?
,
@
ColorInt
onBackground
:
Int
,
@
ColorInt
border
:
Int
,
@
ColorInt
successBackgroundColor
:
Int
=
PRIMARY_BUTTON_SUCCESS_BACKGROUND_COLOR.toArgb()
,
@
ColorInt
onSuccessBackgroundColor
:
Int
=
onBackground
)
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
)
Types
Companion
Link copied to clipboard
object
Companion
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)