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.

Constructors

Link copied to clipboard
@Inject
fun Options(@Named(value = "publishableKey") publishableKeyProvider: () -> String, @Named(value = "stripeAccountId") stripeAccountIdProvider: () -> String?)

Dedicated constructor for injection.

Link copied to clipboard
fun Options(    apiKey: String,     stripeAccount: String? = null,     idempotencyKey: String? = null)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
val apiKey: String
Link copied to clipboard
val apiKeyIsUserKey: Boolean
Link copied to clipboard
val idempotencyKey: String? = null
Link copied to clipboard
val stripeAccount: String? = null