public enum CouponApiEnum extends Enum<CouponApiEnum> implements WxApiEnum
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875
IJPay 自由交流群: 864988890
Node.js 版: Node.js 版
微信支付 v2 版本-代金券接口枚举
Enum Constant and Description |
---|
QUERY_COUPON_STOCK
查询代金券批次
|
QUERY_COUPONS_INFO
查询代金券信息
|
SEND_COUPON
发放代金券
|
Modifier and Type | Method and Description |
---|---|
String |
getDesc()
获取详细的描述信息
|
String |
getUrl()
获取枚举URL
|
String |
toString() |
static CouponApiEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CouponApiEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CouponApiEnum SEND_COUPON
public static final CouponApiEnum QUERY_COUPON_STOCK
public static final CouponApiEnum QUERY_COUPONS_INFO
public static CouponApiEnum[] values()
for (CouponApiEnum c : CouponApiEnum.values()) System.out.println(c);
public static CouponApiEnum 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 getDesc()
public String toString()
toString
in class Enum<CouponApiEnum>
Copyright © 2022. All rights reserved.