Package-level declarations

Types

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
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
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
sealed class CustomerPaymentSource : StripeModel

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
annotation class DelicateCardDetailsApi
Link copied to clipboard
sealed class ExpirationDate
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 Networks(val preferred: String) : StripeParamsModel, Parcelable
Link copied to clipboard

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

Link copied to clipboard
data class PaymentMethod : 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 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

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
data class Source : StripeModel, StripePaymentSource

Model for a Sources API object.

Link copied to clipboard
data class SourceOrder : StripeModel

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
sealed class SourceTypeModel : StripeModel

Models for Source type-specific data

Link copied to clipboard
sealed interface StripeIntent : StripeModel

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
data class WeChatPayNextAction : StripeModel

Properties

Link copied to clipboard
val LinkMode.analyticsValue: String

Needed for backwards compatibility, as Elements uses these values for analytics instead of the strings coming from the API.

Functions

Link copied to clipboard