package com.gamedog.vididin.beans.resp

import com.gamedog.vididin.manager.WithdrawManager.Companion.TRANSACTION_STATE_ONGOING


data class WithDrawRespData (
    var items: MutableList<InitIem?>? = null,
    var UUID: String? = null,
    var IP: String? = null,
)





open class BaseReply (
    var code: Int = 0,
    var msg: String? = null
)


data class PayInit(var data: PayInitReply? = null) : BaseReply() {

}


open class PayInitReply (
    var uuid: String? = null,
    var items: List<InitIem?>? = null,
    var days: Int = 0,
    var error: Int = 0,
)

data class InitIem (
    var id: Int = 0,
    var amount: Float = 0f,
    var status: Int = 0,
)


data class PbReportDataAdjust(
    var gps_adid: String? = null, // 用户的gaid
    var android_id: String? = null, // 原始安卓 ID
    var adid: String? = null, // 与设备关联的 Adjust 标识符
    var user_agent: String? = null, // 设备的User-Agent。必须进行 URL 编码。
    var price: String? = null, // 客户端上报的价格	客户端上报的价格，例如0.05
    var currency: String? = null, // 货币单位	客户端上报的货币，例如
)


data class PbReportDataShuShu(
    var gps_gaid: String? = null, // 用户的gaid
    var android_id: String? = null ,// 原始安卓 ID
    var adid: String? = null, // 与设备关联的 Adjust 标识符
    var user_agent: String? = null, // 设备的User-Agent。必须进行 URL 编码
    var price: String? = null, // 客户端上报的价格	客户端上报的价格，例如0.05
    var currency: String? = null, // 货币单位	客户端上报的货币，例如USD
    var payment_method: String? = null, // 收款方式	暂时只有一种：pix
    var payment_type: String? = null, // 账户形式	cpf/cnpj/evp/email/phone
    var payment_number: String? = null, // 账户号码	收款账号号码
    var iap_name: String? = null, // 商品名称	游戏侧自定义的提现项目名称，例如：0.1br/50br/100br
    var gamecoin_number: String? = null, // 提现消耗的虚拟货币数	提现消耗的虚拟货币数量，例如：1500
    var gamecoin_type: String? = null, // 提现消耗的虚拟货币类型	金币或钞票，例如：coin/money
    var ss_account_id: String? = null, // 数数账号ID	用户的登录ID(如果需要接入数数请务必传此值)
    var ss_distinct_id: String? = null, // 数数访客ID	用户在未登录状态下的ID(如果需要接入数数请务必传此值)
    var ss_super_properties: String? = null, // 数数的公共属性和预制属性	json字符串
)



data class PayoutData(
    var data: PayoutReply? = null
) : BaseReply()

data class PayoutReply (
    var id: String? = null,
    var record_no: String = "",
    var error: Int = 0,
)







data class PayoutCheckData(var data: PayoutCheck? = null) : BaseReply()

data class PayoutCheck(
    var status: Int = 0,  // 提现状态 1:提现中,2:提现成功,3:提现失败
    var error: Int = 0,   // 错误码，0成功，1失败，2签名验证失败，3客户端版本过低，4 ts长度错误
)


/*
data class WithdrawRecord (
    var payOutReplyId: String = "",
    var payOutReplyNo: String = "",
    var cashNum: Double = 0.0,
    var operateMs: Long = 0L,
    var state: Int = TRANSACTION_STATE_ONGOING,      // 提现状态 1:提现中,2:提现成功,3:提现失败
    var failReason: Int = 0,  // TODO - define various fail reasons

    var withdrawItemIndex: Int = 0,
    var withdrawItemSubIndex: Int = 0,
    var hasShowResultDialog: Boolean = false
)*/
