Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class Address @VisibleForTesting constructor(val city: String? = null, val country: String? = null, val line1: String? = null, val line2: String? = null, val postalCode: String? = null, val state: String? = null) : StripeModel, StripeParamsModel

Model for an owner address object in the Source api.

Link copied to clipboard
data class AddressJapanParams(val city: String? = null, val country: String? = null, val line1: String? = null, val line2: String? = null, val postalCode: String? = null, val state: String? = null, val town: String? = null) : StripeParamsModel, Parcelable
Link copied to clipboard
data class BankAccountTokenParams @JvmOverloads constructor(country: String, currency: String, accountNumber: String, accountHolderType: BankAccountTokenParams.Type? = null, accountHolderName: String? = null, routingNumber: String? = null) : TokenParams
Link copied to clipboard
Link copied to clipboard
data class BinRange(val low: String, val high: String) : StripeModel
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Model representing parameters for confirming a SetupIntent.

Link copied to clipboard

Interface for params for confirming a PaymentIntent or SetupIntent.

Link copied to clipboard

Model for Link Payment Method creation parameters, used for 'consumers/payment_details' endpoint.

data class CreateFinancialConnectionsSessionForDeferredPaymentParams(val uniqueId: String, val initialInstitution: String? = null, val manualEntryOnly: Boolean? = null, val searchSession: String? = null, val verificationMethod: VerificationMethodParam? = null, val customer: String? = null, val onBehalfOf: String? = null, val amount: Int? = null, val currency: String? = null)
Link copied to clipboard
data class CreateFinancialConnectionsSessionParams(val clientSecret: String, val customerName: String, val customerEmailAddress: String?)
Link copied to clipboard
data class Customer : StripeModel

Model for a Stripe Customer object

Link copied to clipboard
Link copied to clipboard
data class CustomerCard(val card: Card) : CustomerPaymentSource
Link copied to clipboard

Model of the "data" object inside a Customer "source" object.

Link copied to clipboard
data class CustomerSource(val source: Source) : CustomerPaymentSource
Link copied to clipboard
data class CvcTokenParams(cvc: String) : TokenParams
Link copied to clipboard
data class DateOfBirth(val day: Int, val month: Int, val year: Int) : StripeParamsModel, Parcelable
Link copied to clipboard
data class DeferredIntentParams(val mode: DeferredIntentParams.Mode, val paymentMethodTypes: List<String>, val paymentMethodConfigurationId: String?, val onBehalfOf: String?) : StripeModel
Link copied to clipboard
annotation class DelicateCardDetailsApi
Link copied to clipboard
data class ElementsSession(val linkSettings: ElementsSession.LinkSettings?, val paymentMethodSpecs: String?, val stripeIntent: StripeIntent, val merchantCountry: String?, val isEligibleForCardBrandChoice: Boolean, val isGooglePayEnabled: Boolean, val sessionsError: Throwable? = null) : StripeModel
Link copied to clipboard
sealed class ExpirationDate
Link copied to clipboard
Link copied to clipboard

Result of a successful Google Pay Payment Data Request

Link copied to clipboard
data class IssuingCardPin(val pin: String) : StripeModel
Link copied to clipboard
data class KlarnaSourceParams @JvmOverloads constructor(val purchaseCountry: String, val lineItems: List<KlarnaSourceParams.LineItem>, val customPaymentMethods: Set<KlarnaSourceParams.CustomPaymentMethods> = emptySet(), val billingEmail: String? = null, val billingPhone: String? = null, val billingAddress: Address? = null, val billingFirstName: String? = null, val billingLastName: String? = null, val billingDob: DateOfBirth? = null, val pageOptions: KlarnaSourceParams.PaymentPageOptions? = null) : StripeParamsModel, Parcelable

Model representing parameters for creating a Klarna Source.

Link copied to clipboard
data class ListPaymentMethodsParams(customerId: String, paymentMethodType: PaymentMethod.Type, limit: Int? = null, endingBefore: String? = null, startingAfter: String? = null) : StripeParamsModel, Parcelable
Link copied to clipboard
data class PaymentIntent @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String?, val paymentMethodTypes: List<String>, val amount: Long?, val canceledAt: Long = 0, val cancellationReason: PaymentIntent.CancellationReason? = null, val captureMethod: PaymentIntent.CaptureMethod = CaptureMethod.Automatic, val clientSecret: String?, val confirmationMethod: PaymentIntent.ConfirmationMethod = ConfirmationMethod.Automatic, val countryCode: String?, val created: Long, val currency: String?, val description: String? = null, val isLiveMode: Boolean, val paymentMethod: PaymentMethod? = null, val paymentMethodId: String? = null, val receiptEmail: String? = null, val status: StripeIntent.Status? = null, val setupFutureUsage: StripeIntent.Usage? = null, val lastPaymentError: PaymentIntent.Error? = null, val shipping: PaymentIntent.Shipping? = null, val unactivatedPaymentMethods: List<String>, val linkFundingSources: List<String> = emptyList(), val nextActionData: StripeIntent.NextActionData? = null, paymentMethodOptionsJsonString: String? = null) : StripeIntent

A PaymentIntent tracks the process of collecting a payment from your customer.

Link copied to clipboard
data class PaymentMethod @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String?, val created: Long?, val liveMode: Boolean, code: PaymentMethodCode?, val type: PaymentMethod.Type?, val billingDetails: PaymentMethod.BillingDetails? = null, val customerId: String? = null, val card: PaymentMethod.Card? = null, val cardPresent: PaymentMethod.CardPresent? = null, val fpx: PaymentMethod.Fpx? = null, val ideal: PaymentMethod.Ideal? = null, val sepaDebit: PaymentMethod.SepaDebit? = null, val auBecsDebit: PaymentMethod.AuBecsDebit? = null, val bacsDebit: PaymentMethod.BacsDebit? = null, val sofort: PaymentMethod.Sofort? = null, val upi: PaymentMethod.Upi? = null, val netbanking: PaymentMethod.Netbanking? = null, val usBankAccount: PaymentMethod.USBankAccount? = null) : StripeModel

PaymentMethod objects represent your customer's payment instruments. They can be used with PaymentIntents to collect payments or saved to Customer objects to store instrument details for future payments.

Link copied to clipboard
Link copied to clipboard

Model for PaymentMethod creation parameters.

Link copied to clipboard
data class PaymentMethodMessage @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val displayHtml: String, val learnMoreUrl: String) : StripeModel
Link copied to clipboard
data class PaymentMethodPreference(val intent: StripeIntent, val formUI: String? = null) : StripeModel

This class contains the intent but also some of the settings/configuration/preferences about the behaviors/features of the UI.

Link copied to clipboard

Model for PaymentMethod update parameters.

Link copied to clipboard
data class PersonTokenParams(val address: Address? = null, val addressKana: AddressJapanParams? = null, val addressKanji: AddressJapanParams? = null, val dateOfBirth: DateOfBirth? = null, val email: String? = null, val firstName: String? = null, val firstNameKana: String? = null, val firstNameKanji: String? = null, val gender: String? = null, val idNumber: String? = null, val lastName: String? = null, val lastNameKana: String? = null, val lastNameKanji: String? = null, val maidenName: String? = null, val metadata: Map<String, String>? = null, val phone: String? = null, val relationship: PersonTokenParams.Relationship? = null, val ssnLast4: String? = null, val verification: PersonTokenParams.Verification? = null) : TokenParams

Creates a single-use token that represents the details for a person. Use this when creating or updating persons associated with a Connect account. See the documentation to learn more.

Link copied to clipboard
data class PossibleBrands(val brands: List<CardBrand>) : StripeModel
Link copied to clipboard
data class RadarSession(val id: String) : StripeModel
Link copied to clipboard
data class RadarSessionWithHCaptcha(val id: String, val passiveCaptchaSiteKey: String?, val passiveCaptchaRqdata: String?) : StripeModel
Link copied to clipboard
data class SetupIntent @RestrictTo(value = [RestrictTo.Scope.LIBRARY_GROUP]) constructor(val id: String?, val cancellationReason: SetupIntent.CancellationReason?, val created: Long, val countryCode: String?, val clientSecret: String?, val description: String?, val isLiveMode: Boolean, val paymentMethod: PaymentMethod? = null, val paymentMethodId: String?, val paymentMethodTypes: List<String>, val status: StripeIntent.Status?, val usage: StripeIntent.Usage?, val lastSetupError: SetupIntent.Error? = null, val unactivatedPaymentMethods: List<String>, val linkFundingSources: List<String>, val nextActionData: StripeIntent.NextActionData?, paymentMethodOptionsJsonString: String? = null) : StripeIntent

A SetupIntent guides you through the process of setting up a customer's payment credentials for future payments.

Link copied to clipboard
data class ShippingInformation(val address: Address? = null, val name: String? = null, val phone: String? = null) : StripeModel, StripeParamsModel

Model representing a shipping address object

Link copied to clipboard
data class ShippingMethod @JvmOverloads constructor(val label: String, val identifier: String, val amount: Long, val currency: Currency, val detail: String? = null) : StripeModel

Model representing a shipping method in the Android SDK.

Link copied to clipboard

Model for a Sources API object.

Link copied to clipboard

Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.

Link copied to clipboard
data class SourceOrderParams @JvmOverloads constructor(val items: List<SourceOrderParams.Item>? = null, val shipping: SourceOrderParams.Shipping? = null) : StripeParamsModel, Parcelable

Information about the items and shipping associated with the source. Required for transactional credit (for example Klarna) sources before you can charge it.

Link copied to clipboard

Represents a grouping of parameters needed to create a Source object on the server.

Link copied to clipboard

Models for Source type-specific data

Link copied to clipboard
data class Stripe3ds2AuthParams(sourceId: String, sdkAppId: String, sdkReferenceNumber: String, sdkTransactionId: String, deviceData: String, sdkEphemeralPublicKey: String, messageVersion: String, maxTimeout: Int, returnUrl: String?) : StripeParamsModel, Parcelable
Link copied to clipboard

An interface for methods available in PaymentIntent and SetupIntent

Link copied to clipboard
data class WeChat(val statementDescriptor: String? = null, val appId: String?, val nonce: String?, val packageValue: String?, val partnerId: String?, val prepayId: String?, val sign: String?, val timestamp: String?, val qrCodeUrl: String? = null) : StripeModel
Link copied to clipboard

Functions

Link copied to clipboard