Package-level declarations

Types

Link copied to clipboard
data class BankAccount @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String? = null, val accountHolderName: String? = null, val accountHolderType: BankAccount.Type? = null, val bankName: String? = null, @Size(value = 2) val countryCode: String? = null, @Size(value = 3) val currency: String? = null, val fingerprint: String? = null, val last4: String? = null, val routingNumber: String? = null, val status: BankAccount.Status? = null) : StripeModel, StripePaymentSource
Link copied to clipboard
data class Card @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val expMonth: Int?, val expYear: Int?, val name: String? = null, val addressLine1: String? = null, val addressLine1Check: String? = null, val addressLine2: String? = null, val addressCity: String? = null, val addressState: String? = null, val addressZip: String? = null, val addressZipCheck: String? = null, val addressCountry: String? = null, @Size(value = 4) val last4: String? = null, val brand: CardBrand, val funding: CardFunding? = null, val fingerprint: String? = null, val country: String? = null, val currency: String? = null, val customerId: String? = null, val cvcCheck: String? = null, val id: String?, val tokenizationMethod: TokenizationMethod? = null) : StripeModel, StripePaymentSource

A representation of a Card API object.

Link copied to clipboard

A representation of supported card brands and related data

Link copied to clipboard
Link copied to clipboard
data class ConsumerSession(val clientSecret: String = "", val emailAddress: String, val redactedPhoneNumber: String, val verificationSessions: List<ConsumerSession.VerificationSession> = emptyList(), val authSessionClientSecret: String? = null, val publishableKey: String? = null) : StripeModel

The result of a call to Link consumer sign up.

Link copied to clipboard
data class ConsumerSessionLookup(val exists: Boolean, val consumerSession: ConsumerSession? = null, val errorMessage: String? = null) : StripeModel

The result of a call to retrieve the ConsumerSession for a Link user.

Link copied to clipboard
Link copied to clipboard

Model for a Stripe API object creation parameters

Link copied to clipboard

Represents an object that has an ID field that can be used to create payments with Stripe.

Link copied to clipboard
data class Token @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String, val type: Token.Type, val created: Date, val livemode: Boolean, val used: Boolean, val bankAccount: BankAccount? = null, val card: Card? = null) : StripeModel, StripePaymentSource

Tokenization is the process Stripe uses to collect sensitive card, bank account details, Stripe account details or personally identifiable information (PII), directly from your customers in a secure manner. A Token representing this information is returned to you to use.

Link copied to clipboard

If a card number is tokenized, this is the method that was used.

Link copied to clipboard
abstract class TokenParams(val tokenType: Token.Type, val attribution: Set<String> = emptySet()) : StripeParamsModel, Parcelable