PaymentOption

data class PaymentOption

The customer's selected payment option.

Constructors

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

Types

Link copied to clipboard
class Labels

Properties

Link copied to clipboard

The billing details associated with the customer's desired payment method.

Link copied to clipboard

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

Link copied to clipboard

A Painter to draw the icon associated with this PaymentOption.

Link copied to clipboard

A label that describes the payment option.

Link copied to clipboard

Labels containing additional information about the payment option.

Link copied to clipboard

A string representation of the customer's desired payment method:

Link copied to clipboard

A shipping address that the user provided during checkout.

Functions

Link copied to clipboard
fun icon(): Drawable

Fetches the icon associated with this PaymentOption.