Package-level declarations

Types

Link copied to clipboard
class Address(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
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
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
class ConfirmationToken : StripeModel

Confirmation Token objects help transport client-side data collected by Elements to your server for payment confirmation. They capture payment method information, shipping details, and other checkout state from Elements, then pass them to your server where you can use them to confirm a PaymentIntent or SetupIntent.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Interface for params for confirming a PaymentIntent or SetupIntent.

Link copied to clipboard
class Customer : StripeModel

Model for a Stripe Customer object

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
sealed class CustomerPaymentSource : StripeModel

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

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
class IssuingCardPin(val pin: String) : StripeModel
Link copied to clipboard
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
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
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
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
class PossibleBrands(val brands: List<CardBrand>) : StripeModel
Link copied to clipboard
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
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
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

Source order parameters.

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
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