PaymentMethodType

@Serializable
enum PaymentMethodType : Enum<PaymentMethodType> , Serializable

An enum representing the type of payment method being handled.

Use of this SDK is subject to the Stripe Terminal Terms: https://stripe.com/terminal/legal

Entries

Link copied to clipboard
@SerialName(value = "card_present")
CARD_PRESENT

A card present payment method

Link copied to clipboard
@SerialName(value = "card")
CARD

A card payment method

Link copied to clipboard
@SerialName(value = "interac_present")
INTERAC_PRESENT

An Interac card present payment method

Link copied to clipboard
@SerialName(value = "wechat_pay")
WECHAT_PAY

The WeChat Pay payment method

Link copied to clipboard
@SerialName(value = "affirm")
AFFIRM

The Affirm payment method

Link copied to clipboard
@SerialName(value = "paynow")
PAYNOW

The Paynow payment method

Link copied to clipboard
@SerialName(value = "paypay")
PAYPAY

The Paypay payment method

Link copied to clipboard
@SerialName(value = "klarna")
KLARNA

The Klarna payment method

Link copied to clipboard
@SerialName(value = "gift_card")
GIFT_CARD

A gift card payment method

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val entries: EnumEntries<PaymentMethodType>

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
val isNonCardPaymentMethod: Boolean = false
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val typeName: String

Functions

Link copied to clipboard
fun valueOf(value: String): PaymentMethodType

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.