📦 manideepk90 / react-native-hyperswitch-sdk

📄 PaymentOption.kt · 20 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20package io.hyperswitch.paymentsheet

import androidx.annotation.DrawableRes

/**
 * The customer's selected payment option.
 */
data class PaymentOption(
    /**
     * The drawable resource id of the icon that represents the payment option.
     */
    @DrawableRes val drawableResourceId: Int,

    /**
     * A label that describes the payment option.
     *
     * For example, "····4242" for a Visa ending in 4242.
     */
    val label: String
)