package com.adealink.weparty.wallet.recharge.data

import com.adealink.frame.base.IError
import com.adealink.weparty.commonui.recycleview.diffutil.BaseListItemData

sealed class BaseRechargeListItemData : BaseListItemData

data class RechargeItemData(
    val data: RechargeProduct,
    var selected: Boolean = false
) : BaseRechargeListItemData()

data class RechargeErrorItemData(
    val errorType: RechargeListErrorType,
    val error: IError? = null
) : BaseRechargeListItemData()

enum class RechargeListErrorType {
    GoogleNoInstall,
    NetError,
    RechargeListEmpty
}