cn.beecloud.BCEumeration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of beecloud-java-sdk Show documentation
Show all versions of beecloud-java-sdk Show documentation
java-sdk is the payment integration of beecloud based on Java language.
package cn.beecloud;
/**
* BeeCoud JAVA SDK枚举类
*
* @author Ray
* @Date: 15/7/11
*/
public class BCEumeration {
public enum RESULT_TYPE {
OK,
APP_INVALID,
PAY_FACTOR_NOT_SET,
CHANNEL_INVALID,
MISS_PARAM,
PARAM_INVALID,
CERT_FILE_ERROR,
CHANNEL_ERROR,
NO_SUCH_BILL,
DUPLICATED_PREFUND_RECORD,
BILL_UNSUCCESS,
REFUND_EXCEED_TIME,
ALREADY_REFUNDING,
REFUND_AMOUNT_TOO_LARGE,
NO_SUCH_REFUND,
RECORD_DUPLICATE,
RUNTIME_ERORR,
NOT_CORRECT_RESPONSE,
OTHER_ERROR
}
public enum PAY_CHANNEL {
WX,
WX_APP,
WX_NATIVE,
WX_JSAPI,
WX_WAP,
WX_SCAN,
ALI,
ALI_APP,
ALI_WEB,
ALI_WAP,
ALI_QRCODE,
ALI_SCAN,
ALI_OFFLINE_QRCODE,
UN,
UN_APP,
UN_WEB,
UN_WAP,
YEE,
YEE_WEB,
YEE_WAP,
YEE_NOBANKCARD,
JD,
JD_WEB,
JD_WAP,
KUAIQIAN,
KUAIQIAN_WAP,
KUAIQIAN_WEB,
BD,
BD_WEB,
BD_WAP,
BD_APP,
PAYPAL,
PAYPAL_SANDBOX,
PAYPAL_LIVE,
PAYPAL_PAYPAL,
PAYPAL_CREDITCARD,
PAYPAL_SAVED_CREDITCARD,
BC,
BC_GATEWAY,
BC_EXPRESS,
BC_APP,
BC_NATIVE,
BC_ALI_WAP,
BC_ALI_WEB,
BC_WX_APP,
BC_WX_WAP,
BC_ALI_QRCODE,
BC_WX_JSAPI,
BC_WX_SCAN,
BC_ALI_SCAN,
CP,
CP_WEB,
BC_ALI_JSAPI,
BC_CARD_CHARGE,
BC_QQ_NATIVE
}
public enum TRANSFER_CHANNEL {
ALI_TRANSFER,
WX_REDPACK,
WX_TRANSFER
}
public enum QR_PAY_MODE {
MODE_BRIEF_FRONT,
MODE_FRONT,
MODE_MINI_FRONT
}
public enum PAYPAL_CURRENCY {
AUD,
BRL,
CAD,
CZK,
DKK,
EUR,
HKD,
HUF,
ILS,
JPY,
MYR,
MXN,
TWD,
NZD,
NOK,
PHP,
PLN,
GBP,
SGD,
SEK,
CHF,
THB,
TRY,
USD
}
public enum CARD_TYPE {
visa,
mastercard,
discover,
amex
}
public enum BC_TRANSFER_BANK_TYPE {
P_DE, //对私借记卡
P_CR, //对私信用卡
C //对公账户
}
public enum BC_PLAN_INTERVAL {
day,
week,
month,
year
}
public enum TRANSFER_STATUS {
SUCCESS,
FAIL,
PROCESSING
}
}