package com.abbidot.tracker.bean

import android.os.Parcelable
import com.abbidot.tracker.constant.ConstantInt
import kotlinx.parcelize.Parcelize

/**
 *Created  by .yzq on 2022/3/28/028.
 * @link
 * @description:BraintreePal请求结果返回
 */
@Parcelize
data class PayResultBean(
    var orderId: String,
    var tokenId: String,
    var url: String,
    var surplusDays: Long,
    var expirationTime: String,
    var deviceOutId: String,
    var deviceId: String,
    var deviceType: Int,
    //设备充值类型，0=首次设备充值激活，1=已添加设备再次添加设备充值，2=给当前的设备续费或者升级套餐
    var rechargeType: Int
) : Parcelable {
    constructor() : this("", "", "", 0L, "", "", "", 1, ConstantInt.Type1)
}
