Package com.stripe.android.model

Types

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

A representation of a Card API object.

Link copied to clipboard
enum CardBrand : Enum<CardBrand>

A representation of supported card brands and related data

Link copied to clipboard
enum CardFunding : Enum<CardFunding>
Link copied to clipboard
interface StripeParamsModel : Parcelable

Model for a Stripe API object creation parameters

Link copied to clipboard
interface StripePaymentSource : Parcelable

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(id: String, type: Token.Type, created: Date, livemode: Boolean, used: Boolean, bankAccount: BankAccount?, card: Card?) : 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
enum TokenizationMethod : Enum<TokenizationMethod>

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

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