public enum PayPalApiUrl extends Enum<PayPalApiUrl>
IJPay 让支付触手可及,封装了微信支付、支付宝支付、银联支付常用的支付方式以及各种常用的接口。
不依赖任何第三方 mvc 框架,仅仅作为工具使用简单快速完成支付模块的开发,可轻松嵌入到任何系统里。
IJPay 交流群: 723992875
Node.js 版: https://gitee.com/javen205/TNWX
PayPal 支付接口枚举
Enum Constant and Description |
---|
CAPTURE_ORDER
确认订单
|
CAPTURE_QUERY
查询已确认订单
|
CHECKOUT_ORDERS
订单
|
GET_TOKEN
获取 Access Token
|
LIVE_GATEWAY
线上环境
|
REFUND
退款
|
REFUND_QUERY
退款查询
|
SANDBOX_GATEWAY
沙箱环境
|
Modifier and Type | Method and Description |
---|---|
String |
getUrl() |
String |
toString() |
static PayPalApiUrl |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PayPalApiUrl[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PayPalApiUrl SANDBOX_GATEWAY
public static final PayPalApiUrl LIVE_GATEWAY
public static final PayPalApiUrl GET_TOKEN
public static final PayPalApiUrl CHECKOUT_ORDERS
public static final PayPalApiUrl CAPTURE_ORDER
public static final PayPalApiUrl CAPTURE_QUERY
public static final PayPalApiUrl REFUND
public static final PayPalApiUrl REFUND_QUERY
public static PayPalApiUrl[] values()
for (PayPalApiUrl c : PayPalApiUrl.values()) System.out.println(c);
public static PayPalApiUrl 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 getUrl()
public String toString()
toString
in class Enum<PayPalApiUrl>
Copyright © 2022. All rights reserved.