StripeIntent

interface StripeIntent : StripeModel

An interface for methods available in PaymentIntent and SetupIntent

Types

Link copied to clipboard
sealed class NextActionData : StripeModel
Link copied to clipboard
enum NextActionType : Enum<StripeIntent.NextActionType>

Type of the next action to perform.

Link copied to clipboard
enum Status : Enum<StripeIntent.Status>
Link copied to clipboard
enum Usage : Enum<StripeIntent.Usage>

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract operator override fun equals(other: Any?): Boolean
Link copied to clipboard
abstract override fun hashCode(): Int
Link copied to clipboard
abstract fun requiresAction(): Boolean
Link copied to clipboard
abstract fun requiresConfirmation(): Boolean
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)

Properties

Link copied to clipboard
abstract val clientSecret: String?
Link copied to clipboard
abstract val created: Long

Time at which the object was created. Measured in seconds since the Unix epoch.

Link copied to clipboard
abstract val description: String?

An arbitrary string attached to the object. Often useful for displaying to users.

Link copied to clipboard
abstract val id: String?

Unique identifier for the object.

Link copied to clipboard
abstract val isConfirmed: Boolean

Whether confirmation has succeeded and all required actions have been handled.

Link copied to clipboard
abstract val isLiveMode: Boolean

Has the value true if the object exists in live mode or the value false if the object exists in test mode.

Link copied to clipboard
abstract val lastErrorMessage: String?
Link copied to clipboard
abstract val nextActionData: StripeIntent.NextActionData?
Link copied to clipboard
abstract val nextActionType: StripeIntent.NextActionType?
Link copied to clipboard
abstract val paymentMethod: PaymentMethod?

The expanded PaymentMethod represented by paymentMethodId.

Link copied to clipboard
abstract val paymentMethodId: String?
Link copied to clipboard
abstract val paymentMethodTypes: List<String>

The list of payment method types (e.g. card) that this PaymentIntent is allowed to use.

Link copied to clipboard
abstract val status: StripeIntent.Status?
Link copied to clipboard
abstract val unactivatedPaymentMethods: List<String>

Payment types that have not been activated in livemode, but have been activated in testmode.

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun StripeIntent.getRequestCode(): Int