org.redkalex.pay.Pays Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of redkale-plugins Show documentation
Show all versions of redkale-plugins Show documentation
Redkale-Plugins -- java framework
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package org.redkalex.pay;
/**
* 详情见: https://redkale.org
*
* @author zhangjx
*/
public abstract class Pays {
// --------------------- 支付类型 -----------------------------
// 支付类型: 10:虚拟支付; 11:人工支付; 12:银联支付; 13:微信支付; 14:支付宝支付; 15:IOS支付; 16:Google支付; 17:Facebook支付; 21:OPPO支付;
// 信用/虚拟支付
public static final short PAYTYPE_CREDIT = 10;
// 人工支付
public static final short PAYTYPE_HUMAN = 11;
// 银联支付
public static final short PAYTYPE_UNION = 12;
// 微信支付
public static final short PAYTYPE_WEIXIN = 13;
// 支付宝支付
public static final short PAYTYPE_ALIPAY = 14;
// IOS支付
public static final short PAYTYPE_IOS = 15;
// Google支付
public static final short PAYTYPE_GOOGLE = 16;
// Facebook支付
public static final short PAYTYPE_FACEBOOK = 17;
// OPPO支付
public static final short PAYTYPE_OPPO = 21;
// Tron钱包支付
public static final short PAYTYPE_TPC20 = 31;
// 以太坊钱包支付
public static final short PAYTYPE_EPC20 = 32;
// OKEX钱包支付
public static final short PAYTYPE_OEC = 33;
// 自定义的支付服务的paytype最小值, 50以下被框架占用
public static final short MIN_DIY_PAYTYPE = 50;
// --------------------- 支付渠道 -----------------------------
// 支付渠道: 10:虚拟支付; 20:人工支付; 30:APP支付; 40:网页支付; 50:H5支付; 60:机器支付;
// 信用/虚拟支付
public static final short PAYWAY_CREDIT = 10;
// 人工支付
public static final short PAYWAY_HUMAN = 20;
// APP支付
public static final short PAYWAY_APP = 30;
// 网页支付
public static final short PAYWAY_WEB = 40;
// H5支付
public static final short PAYWAY_H5 = 50;
// 机器支付
public static final short PAYWAY_NATIVE = 60;
// --------------------- 支付状态 -----------------------------
// 10:待支付;20:支付中;30:已支付;40:支付失败;50:待退款;60退款中;70:已退款;80:退款失败;90:已关闭;95:已取消;
// 待支付
public static final short PAYSTATUS_UNPAY = 10;
// 支付中
public static final short PAYSTATUS_PAYING = 20;
// 已支付
public static final short PAYSTATUS_PAYOK = 30;
// 支付失败
public static final short PAYSTATUS_PAYNO = 40;
// 待退款
public static final short PAYSTATUS_UNREFUND = 50;
// 退款中
public static final short PAYSTATUS_REFUNDING = 60;
// 已退款
public static final short PAYSTATUS_REFUNDOK = 70;
// 退款失败
public static final short PAYSTATUS_REFUNDNO = 80;
// 已关闭
public static final short PAYSTATUS_CLOSED = 90;
// 已取消
public static final short PAYSTATUS_CANCELED = 95;
// --------------------- 支付操作 -----------------------------
public static final String PAYACTION_PREPAY = "prepay";
public static final String PAYACTION_NOTIFY = "notify";
public static final String PAYACTION_CREATE = "create";
public static final String PAYACTION_QUERY = "query";
public static final String PAYACTION_CLOSE = "close";
public static final String PAYACTION_REFUND = "refund";
public static final String PAYACTION_QUERYREFUND = "queryrefund";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy