PaymentMethod

data class PaymentMethod(val id: String, val kind: PaymentSheetSession.PaymentMethod.Kind, val source: PaymentSheetSession.PaymentMethod.Source = Source.SAVED, val label: String, val detail: String? = null)(source)

Saved or newly collectable method shown to the payer.

Constructors

Link copied to clipboard
constructor(id: String, kind: PaymentSheetSession.PaymentMethod.Kind, source: PaymentSheetSession.PaymentMethod.Source = Source.SAVED, label: String, detail: String? = null)

Types

Link copied to clipboard

Payment-method families supported by this SDK version.

Link copied to clipboard

Origin of a method within this presentation.

Properties

Link copied to clipboard

Optional secondary description.

Link copied to clipboard
val id: String

Stable Checkout identifier.

Link copied to clipboard

Family used to choose native collection UI.

Link copied to clipboard

Primary payer-facing label.

Link copied to clipboard

Whether the method is saved or needs collection.