stripe-android
stripe-core
/
com.stripe.android.core.networking
/
ApiRequest
/
Options
Options
data
class
Options
(
apiKey
:
String
,
stripeAccount
:
String
?
,
idempotencyKey
:
String
?
)
:
Parcelable
Content copied to clipboard
Data class representing options for a Stripe API request.
Types
Constructors
Functions
Properties
Constructors
Options
Link copied to clipboard
@
Inject
fun
Options
(
@
Named
(
value
=
"publishableKey"
)
publishableKeyProvider
:
(
)
->
String
,
@
Named
(
value
=
"stripeAccountId"
)
stripeAccountIdProvider
:
(
)
->
String
?
)
Content copied to clipboard
Dedicated constructor for injection.
Options
Link copied to clipboard
fun
Options
(
apiKey
:
String
,
stripeAccount
:
String
?
=
null
,
idempotencyKey
:
String
?
=
null
)
Content copied to clipboard
Types
Companion
Link copied to clipboard
object
Companion
Content copied to clipboard
Functions
describe
Contents
Link copied to clipboard
abstract
fun
describeContents
(
)
:
Int
Content copied to clipboard
write
To
Parcel
Link copied to clipboard
abstract
fun
writeToParcel
(
p0
:
Parcel
,
p1
:
Int
)
Content copied to clipboard
Properties
apiKey
Link copied to clipboard
val
apiKey
:
String
Content copied to clipboard
apiKeyIsUserKey
Link copied to clipboard
val
apiKeyIsUserKey
:
Boolean
Content copied to clipboard
idempotencyKey
Link copied to clipboard
val
idempotencyKey
:
String
?
=
null
Content copied to clipboard
stripeAccount
Link copied to clipboard
val
stripeAccount
:
String
?
=
null
Content copied to clipboard