PaymentOption

data class PaymentOption(@DrawableRes val drawableResourceId: Int, val label: String)

The customer's selected payment option.

Constructors

Link copied to clipboard
fun PaymentOption(@DrawableRes drawableResourceId: Int, label: String)

Properties

Link copied to clipboard
val drawableResourceId: Int

The drawable resource id of the icon that represents the payment option.

Link copied to clipboard
val label: String

A label that describes the payment option.