public enum PPaymentErrorCodeEnum extends Enum<PPaymentErrorCodeEnum> implements com.thebeastshop.common.exception.BaseErrorCode
| Modifier and Type | Method and Description |
|---|---|
String |
getErrorCode() |
String |
getMessage() |
String |
getPrefix() |
String |
toString() |
static PPaymentErrorCodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PPaymentErrorCodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PPaymentErrorCodeEnum PARAM_ERROR
public static final PPaymentErrorCodeEnum SYSTEM_ERROR
public static final PPaymentErrorCodeEnum TRADE_ERROR
public static final PPaymentErrorCodeEnum DUPLICATE_TRADE_CODE
public static final PPaymentErrorCodeEnum PAYMENT_FAIL
public static final PPaymentErrorCodeEnum PAYMENT_TRADE_CODE_GEN_ERROR
public static final PPaymentErrorCodeEnum PAYMENT_FREQUENT
public static final PPaymentErrorCodeEnum DUPLICATE_PAYMENT
public static final PPaymentErrorCodeEnum LOCK_ERROR
public static final PPaymentErrorCodeEnum ALIPAY_ERROR
public static final PPaymentErrorCodeEnum WX_ERROR
public static final PPaymentErrorCodeEnum CANCEL_FAIL
public static final PPaymentErrorCodeEnum REFUND_FAIL
public static final PPaymentErrorCodeEnum PAID_TRADE_NONEXISTENT_ERROR
public static final PPaymentErrorCodeEnum EXCEEDING_TOTAL_AMOUNT_ERROR
public static final PPaymentErrorCodeEnum THIRD_PARTY_REFUND_FAIL
public static final PPaymentErrorCodeEnum AMOUNT_LESS_ZERO_ERROR
public static final PPaymentErrorCodeEnum YCK_NON_EXISTENT_ERROR
public static final PPaymentErrorCodeEnum YCK_WRONG_PASSWD_ERROR
public static final PPaymentErrorCodeEnum YCK_CONSUMPTION_ERROR
public static final PPaymentErrorCodeEnum YCK_WRONG_BALANCE_ERROR
public static PPaymentErrorCodeEnum[] values()
for (PPaymentErrorCodeEnum c : PPaymentErrorCodeEnum.values()) System.out.println(c);
public static PPaymentErrorCodeEnum valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<PPaymentErrorCodeEnum>public String getErrorCode()
getErrorCode in interface com.thebeastshop.common.exception.BaseErrorCodepublic String getMessage()
getMessage in interface com.thebeastshop.common.exception.BaseErrorCodepublic String getPrefix()
getPrefix in interface com.thebeastshop.common.exception.BaseErrorCodeCopyright © 2018. All rights reserved.