package com.jeequan.jeepay.core.model.params.shengpay;

import lombok.Data;

/*
 * 盛付通 通用配置信息
 *
 * @author pangxiaoyu
 *
 * @date 2021/6/8 18:02
 */
@Data
public class ShengpayConfig {

    /** 网关地址 */
    public static String PROD_SERVER_URL = "http://mchapi.shengpay.com";
    public static String SANDBOX_SERVER_URL = "http://mchapitest.shengpay.com";

    /** 智能pos  网关地址 */
    public static String AUTO_POS_PROD_SERVER_URL = "https://terminalflexiblelink.shengpay.com";
    public static String AUTO_POS_SANDBOX_SERVER_URL = "https://terminalflexiblelinktest.shengpay.com";

    public static final String CNY ="CNY";
    public static final String DEFAULT_CHARSET = "UTF-8";

    /** 创建 */
    public static String PAY_INIT = "PAY_INIT";
    /** 支付中 */
    public static String PAY_ING = "PAY_ING";
    /** 支付成功 */
    public static String PAY_SUCCESS = "PAY_SUCCESS";
    /** 支付失败 */
    public static String PAY_FAIL = "PAY_FAIL";
    /** 返回成功状态 */
    public static String RETURN_SUCCESS = "SUCCESS";
    /** 返回失败状态 */
    public static String RETURN_FAIL = "FAIL";
    /** 部分退款中 */
    public static String REFUND_PART_ING = "REFUND_PART_ING";
    public static String REFUND_PART_SUCCESS = "REFUND_PART_SUCCESS";
    /** 退款中 */
    public static String REFUND_ING = "REFUND_ING";
    /** 退款成功 */
    public static String REFUND_SUCCESS = "REFUND_SUCCESS";
    /** 退款失败 */
    public static String REFUND_FAIL = "REFUND_FAIL";
    /** 已取消 */
    public static String CLOSED = "CLOSED";

    /** 智能POS通知  支付中 */
    public static String POS_PAY_ING = "ING";
    /** 智能POS通知  支付成功 */
    public static String POS_PAY_SUCCESS = "SUCCESS";
    /** 智能POS通知  支付失败 */
    public static String POS_PAY_FAIL = "FAIL";

}
