package com.iformall.pay;

public class WxPayConstant {
	public final static String REQ_KEY = "reqKey";
	public final static String RES_KEY = "resKey";

	public final static String RET_SUCCESS = "SUCCESS";
	public final static String RET_FAIL = "FAIL";
	public final static String RESULT_SUCCESS = "0";

	public final static String RETURN_CODE = "return_code";
	public final static String RETURN_MSG = "return_msg";
	public final static String RESULT_CODE = "result_code";
	public final static String RESULT_MSG = "result_msg";
	public final static String RESULT_DATA = "result_data";
	public final static String TIMESTAMP = "timestamp";

	public final static String NONCE_STR = "nonce_str";
	public final static String DEV_ID = "dev_id";
	public final static String SIGN = "sign";
	public final static String FORCE = "force";


	public final static String TENANT_ID = "tenant_id";
	public final static String MALL_NAME = "mall_name";
	public final static String MERCHANT_ID = "merchant_id";
	public final static String MERCHANT_NAME = "merchant_name";
	public final static String MERCHANT_IMG = "merchant_img";
	public final static String BUSER_ID = "order_operation_id";
	public final static String COUPON_ORDER_ID = "coupon_order_id";
	public final static String COUPON_ORDER_LIST = "coupon_list";
	public final static String POS_ORDER_ID = "order_number_of_platform";
	public final static String ORDER_CREATE_SN = "order_create_sn";
	public final static String ORDER_AMOUNT = "order_amount";
	public final static String ORDER_AMOUNT_LEFT = "order_amount_left";
	public final static String MEM_ID = "mem_id";
	public final static String MEM_PHONE = "mem_phone_number";
	public final static String CARD_ID = "card_id";
	public final static String AMOUNT_PAID_BY_CARD = "amount_paid_by_card";
	public final static String CARD_AMOUNT_BEFORE_PAY = "card_amount_before_pay";
	public final static String PAYMENT_AMOUNT = "payment_amount";
	public final static String CARD_AMOUNT_AFTER_PAY = "card_amount_after_pay";
	public final static String CARD_SPEND_ID = "payment_id_from_iformall";
	public final static String CARD_SPEND_TIME = "payment_time_from_iformall";
	public final static String PHONE = "phone";
	public final static String PASSWORD = "password";
	public final static String MEM_CONFIG = "mem_config";

	public final static String PROMOTION_AMOUNT = "promotion_amount";
	public final static String AMOUNT_LEFT_AFTER_PAY = "amount_left_after_pay";
	public final static String CARD_PAYMENT_DATA = "card_payment_data";

	public final static String TITLE = "title";
	public final static String COVER_IMG   = "cover_img";
	public final static String EXPIRE_TIME = "expire_time";
	public final static String VALID_START_DATE = "valid_start_date";
	public final static String VALID_END_DATE = "valid_end_date";
	public final static String PRICE = "price";
	public final static String SALE_PRICE = "sale_price";
	public final static String USE_PRICE = "use_price";
	public final static String STATUS = "status";
	public final static String STATUS_DES = "status_des";

	public final static String SCENE_TYPE = "business_type";
	public final static String SCENE_VERIFY = "2";
	public final static String SCENE_PAY = "1";

	public final static String CHECK = "check";
	public final static String PRE_VERIFY = "pre_verify";
	public final static String PRE_PAY= "pre_pay";
	public final static String VERIFY = "verify";
	public final static String PAY = "pay";
	public final static String CANCEL = "cancel";
	public final static String CANCEL_JSON = "cancel_json";
	public final static String CANCEL_DES = "cancel_des";

	public final static String REG_QRCODE_URL = "qrcode_url";
	public final static String POS_QRCODE_RULE = "pos_qrcode_rule";
	public final static String QRCODE = "qrcode";


	public final static String DISCOUNT = "discount";
	public final static String DISCOUNT_DES = "discount_description";
	public final static String DISCOUNT_RATE = "discount_rate";
	public final static String COUPON = "coupon";
	public final static String MEM_COUPONS = "coupons";
	public final static String COUPON_DES = "coupon_description";
	public final static String CARD = "card";
	public final static String LEVEL = "level";
	public final static String AVAIL_CO_LIST = "avail_co_list";
	public final static String ID = "id";
	public final static String COUPON_ID = "coupon_id";
	public final static String COUPON_TYPE = "coupon_type";
	public final static String IS_SELECTED = "is_selected";

	public final static String COUPON_REFUND_RESULT = "coupon_refund_result";
	public final static String COUPON_REFUND_ID = "coupon_refund_id";
	public final static String REFUND_RESULT_CODE = "result_code";
	public final static String REFUND_RESULT_MSG = "result_msg";
	public final static String REFUND_TIME_FROM_IFORMALL = "refund_time_from_iformall";
	public final static String CARD_REFUND_RESULT = "card_refund_result";

	public final static String COUPON_PROMOTION_AMOUNT = "coupon_promotion_amount";

	public final static String MEMBER_DISCOUNT = "member_discount";
	public final static String PROMOTION_INFO = "promotion_info";
	public final static String PROMOTION_DATA = "promotion_data";
	public final static String PAYMENT_PREDICTION = "payment_prediction";

	public final static String PAYMENT_INFO = "payment_info";

	public final static String DEDUCT_AMOUNT = "deduct_amount";
	public final static String REMAIN_AMOUNT = "remain_amount";
	public final static String ORDER_STATUS = "order_status";

	public final static String POINT = "point";
	public final static String CREDIT = "credit";

	public final static String REAL_AMOUNT = "real_amount";

	public final static String SALE_FEE = "sale_fee";

	public final static String ORG_AMOUNT = "org_amount";
	public final static String DISCOUNT_AMOUNT = "discount_amount";
	public final static String ORG_REMAIN_AMOUNT = "org_remain_amount";

	public final static String RET = "ret";

	public final static String TRUE = "true";
	public final static String FALSE = "false";


	//// 东软相关定义
	public final static String POS_ORDER_TIME = "order_time_of_platform";   // 平台订单创建时间, 格式：4位年2位月2位日2位24小时制时2位分2位秒3位毫秒
	public final static String PAY_DETAIL = "payment_detail";
	public final static String PAY_DETAIL_LIST = "payment_detail_list";
	public final static String NEU_PAY_ORDER_ID = "payment_number_of_platform"; // 东软平台支付订单号
	public final static String NEU_PAY_ORDER_TIME = "payment_order_time";      // 东软平台支付订单创建时间
	public final static String NEU_PAY_ORDER_TYPE = "payment_type";           // 支付方式: 0微信;1支付宝;2现金;3会员折扣;4优惠券;5预付卡;6银行卡
	public final static String NEU_PAY_ORDER_TYPE_DES = "payment_type_description";  // 支付方式描述：微信或支付宝或现金或会员折扣或优惠券或预付卡或银行卡
	public final static String NEU_PAY_ORDER_PARAM = "payment_third_party_string";     // 第三方使用数据,JSON存储，包含富茂所需的系统要素
	public final static String NEU_PAY_ORDER_STATUS = "payment_status";       // 支付状态:0非手动同步, 1手动同步
	public final static String NEU_PAY_ORDER_OUT_NO = "outer_payment_number";  // 第三方（微信、支付宝、富茂预付卡）支付订单流水号，富茂优惠券ID，现金和富茂会员折扣时为空
	public final static String NEU_PAY_ORDER_AMOUNT = "payment_amount";       // 支付金额
	public final static String NEU_PAY_ORDER_OUT_TIME = "pay_time";           // 第三方支付系统返回的支付时间，现金和富茂会员折扣时为空
	public final static String NEU_REFUND_DETAIL = "refund_detail";
	public final static String NEU_REFUND_DETAIL_LIST = "refund_detail_list";
	public final static String NEU_REFUND_ORDER_ID = "refund_number_of_platform"; // 东软平台退款订单号
	public final static String NEU_REFUND_ORDER_TIME = "refund_order_time";      // 东软平台退款订单创建时间
	public final static String NEU_REFUND_ORDER_TYPE = "refund_type";           // 退款方式: 0微信;1支付宝;2现金;3会员折扣;4优惠券;5预付卡;6银行卡;7记账;
																				// 退款方式可以与支付方式不同，但只能是记账，作为线下手动操作退款方式
	public final static String NEU_REFUND_ORDER_TYPE_DES = "refund_type_description"; //  退款方式描述：微信或支付宝或现金或会员折扣或优惠券或预付卡或银行卡或记账
	public final static String NEU_REFUND_ORDER_PARAM = "refund_third_party_string";    //  第三方使用数据,JSON存储，包含富茂所需的系统要素
	public final static String NEU_REFUND_ORDER_STATUS = "refund_status";             //  退款状态:0非手动, 1手动退款, 2手动释放同步
	public final static String NEU_REFUND_ORDER_OUT_NO = "outer_refund_number";        //  第三方（微信、支付宝、富茂预付卡）支付订单流水号，富茂优惠券ID，现金和富茂会员折扣时为空
	public final static String NEU_REFUND_ORDER_AMOUNT = "refund_amount";             //  退款金额
	public final static String NEU_REFUND_ORDER_OUT_TIME = "refund_time";             //  第三方支付系统返回的支付时间，现金和富茂会员折扣时为空

	public final static String NEU_ORDER_PAY    = "0";  // 有效, 优惠券从预核销处理为核销, 卡从预支付->支付
	public final static String NEU_ORDER_REFUND = "1";  // 取消

}
