package com.adealink.weparty.wallet.pay

interface PayRes {
    companion object {
        const val SUCCESS = 0
        const val SET_UP_DISCONNECTED = 1001//Lose connect with Play Store
        const val FEATURE_NOT_SUPPORTED= 1002//The requested feature is not supported by the Play Store on the current device.
        const val PURCHASE_SKU_UN_MATCH = 1003//Product channel does not match
        const val CREATE_ORDER_FAIL = 1004//Create order failed
        const val CREATE_ORDER_ID_VALID = 1005//Create order failed, order id is null or empty
        const val PURCHASE_VALID = 1006//Purchase info is null or no purchased
        const val PURCHASE_USER_CANCEL = 1007//Transaction was canceled by the user.
        const val VERIFY_ORDER_FAILED = 1008//verify order failed
        const val SKU_INVALID = 1009//No sku match product
        const val RECHARGE_LIST_EMPTY = 1010//Recharge list is empty
        const val NEED_QUERY_PURCHASES = 1011
        const val PURCHASE_PENDING = 1012//Purchase pending
        const val SERVICE_DISCONNECTED = 1014//The app is not connected to the Play Store service via the Google Play Billing Library.
        const val SERVICE_UNAVAILABLE = 1015//The service is currently unavailable.
        const val BILLING_UNAVAILABLE = 1016//A user billing error occurred during processing.
        const val ITEM_UNAVAILABLE = 1017//The requested product is not available for purchase.
        const val DEVELOPER_ERROR = 1018//Error resulting from incorrect usage of the API.
        const val ERROR = 1019//Fatal error during the API action.
        const val ITEM_ALREADY_OWNED = 1020//The purchase failed because the item is already owned.
        const val ITEM_NOT_OWNED = 1021//Requested action on the item failed since it is not owned by the user.
        const val NETWORK_ERROR = 1022//此错误表示设备和 Play 系统之间的网络连接出现问题，若要恢复，请使用简单的重试策略或指数退避算法
    }
}