stripe-android
payments-core
/
com.stripe.android.model
/
CardParams
Card
Params
data
class
CardParams
:
TokenParams
Content copied to clipboard
Create a card token
Constructors
Functions
Properties
Constructors
Card
Params
Link copied to clipboard
@
JvmOverloads
fun
CardParams
(
number
:
String
,
expMonth
:
Int
,
expYear
:
Int
,
cvc
:
String
?
=
null
,
name
:
String
?
=
null
,
address
:
Address
?
=
null
,
currency
:
String
?
=
null
,
metadata
:
Map
<
String
,
String
>
?
=
null
)
Content copied to clipboard
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
Content copied to clipboard
to
Param
Map
Link copied to clipboard
open
override
fun
toParamMap
(
)
:
Map
<
String
,
Any
>
Content copied to clipboard
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)
Content copied to clipboard
Properties
address
Link copied to clipboard
var
address
:
Address
?
=
null
Content copied to clipboard
brand
Link copied to clipboard
val
brand
:
CardBrand
Content copied to clipboard
The likely
CardBrand
based on the
number
.
currency
Link copied to clipboard
var
currency
:
String
?
=
null
Content copied to clipboard
card.currency
last4
Link copied to clipboard
val
last4
:
String
Content copied to clipboard
metadata
Link copied to clipboard
var
metadata
:
Map
<
String
,
String
>
?
=
null
Content copied to clipboard
card.metadata
name
Link copied to clipboard
var
name
:
String
?
=
null
Content copied to clipboard
card.name
typeDataParams
Link copied to clipboard
open
override
val
typeDataParams
:
Map
<
String
,
Any
>
Content copied to clipboard