toggle menu
stripe-android
androidJvm
switch theme
search in API
stripe-core
/
com.stripe.android.core.networking
/
ApiRequest
/
Options
Options
data
class
Options
(
val
apiKey
:
String
,
val
stripeAccount
:
String
?
=
null
,
val
idempotencyKey
:
String
?
=
null
)
:
Parcelable
Data class representing options for a Stripe API request.
Members
Constructors
Options
Link copied to clipboard
@
Inject
constructor
(
@
Named
(
value
=
"publishableKey"
)
publishableKeyProvider
:
(
)
->
String
,
@
Named
(
value
=
"stripeAccountId"
)
stripeAccountIdProvider
:
(
)
->
String
?
)
Dedicated constructor for injection.
constructor
(
apiKey
:
String
,
stripeAccount
:
String
?
=
null
,
idempotencyKey
:
String
?
=
null
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
api
Key
Link copied to clipboard
val
apiKey
:
String
api
Key
Is
User
Key
Link copied to clipboard
val
apiKeyIsUserKey
:
Boolean
idempotency
Key
Link copied to clipboard
val
idempotencyKey
:
String
?
=
null
stripe
Account
Link copied to clipboard
val
stripeAccount
:
String
?
=
null
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
)