PaymentType

enum PaymentType : Parcelable, Enum<PaymentType>

Payment method selector for external purchase requests.

Entries

Link copied to clipboard

Card payment only.

Link copied to clipboard

QR payment only. Requires an external QR candidate authorized on the POS.

Link copied to clipboard

Both card and QR payments are accepted; the default combination.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val entries: EnumEntries<PaymentType>

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

Functions

Link copied to clipboard
open override fun describeContents(): Int
Link copied to clipboard
fun valueOf(value: String): PaymentType

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
fun values(): Array<PaymentType>

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

Link copied to clipboard
open override fun writeToParcel(parcel: Parcel, flags: Int)