|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectcn.beecloud.BCPay
public class BCPay
BeeCloud JAVA SDK核心类, 包括支付、退款、查询、企业打款、批量退款等接口
| 构造方法摘要 | |
|---|---|
BCPay()
|
|
| 方法摘要 | |
|---|---|
static BCBatchRefund |
startBatchRefund(BCBatchRefund batchRefund)
预退款审核接口,包括批量否决和批量同意 |
static BCInternationlOrder |
startBCInternatioalPay(BCInternationlOrder order)
境外支付(paypal)接口 |
static BCOrder |
startBCPay(BCOrder order)
支付接口 |
static BCRefund |
startBCRefund(BCRefund refund)
退款接口 |
static List<BCOrder> |
startQueryBill(BCQueryParameter para)
订单查询(批量)接口 |
static BCOrder |
startQueryBillById(String objectId)
订单查询(单笔,根据id)接口 |
static Integer |
startQueryBillCount(BCQueryParameter para)
订单总数查询接口 |
static List<BCRefund> |
startQueryRefund(BCQueryParameter para)
退款记录查询(批量)接口 |
static BCRefund |
startQueryRefundById(String objectId)
退款查询接口(根据 id) |
static Integer |
startQueryRefundCount(BCQueryParameter para)
退款记录总数查询接口 |
static String |
startRefundUpdate(BCEumeration.PAY_CHANNEL channel,
String refundNo)
退款状态更新接口 |
static String |
startTransfer(TransferParameter para)
单笔打款接口 |
static String |
startTransfers(TransfersParameter para)
批量打款接口 |
static boolean |
verifySign(String sign,
String timestamp)
Webhook接收签名验证接口 |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public BCPay()
| 方法详细信息 |
|---|
public static BCOrder startBCPay(BCOrder order)
throws BCException
order - BCOrder (必填) 支付参数
BCException
public static BCRefund startBCRefund(BCRefund refund)
throws BCException
refund - BCRefund (必填) 退款参数
BCException
public static List<BCOrder> startQueryBill(BCQueryParameter para)
throws BCException
para - BCQueryParameter (必填) 订单查询参数
BCException
public static BCOrder startQueryBillById(String objectId)
throws BCException
objectId - (必填) 订单记录唯一标识
BCException
public static Integer startQueryBillCount(BCQueryParameter para)
throws BCException
para - BCQueryParameter (必填)订单总数查询参数
BCException
public static List<BCRefund> startQueryRefund(BCQueryParameter para)
throws BCException
para - BCQueryParameter (必填)订单查询参数
BCException
public static BCRefund startQueryRefundById(String objectId)
throws BCException
objectId - (必填) 退款记录唯一标识
BCException
public static Integer startQueryRefundCount(BCQueryParameter para)
throws BCException
para - BCQueryParameter (必填) 退款总数查询参数
BCException
public static String startRefundUpdate(BCEumeration.PAY_CHANNEL channel,
String refundNo)
throws BCException
refundNo - (必填)商户退款单号, 格式为:退款日期(8位) + 流水号(3~24
位)。不可重复,且退款日期必须是当天日期。流水号可以接受数字或英文字符,建议使用数字,但不可接受“000”。channel - (必填) 渠道类型, 根据不同场景选择不同的支付方式,包含: YEE 易宝 WX 微信 KUAIQIAN 快钱 BD 百度
BCException
public static BCInternationlOrder startBCInternatioalPay(BCInternationlOrder order)
throws BCException
order - BCInternationlOrder (必填)
BCException
public static String startTransfer(TransferParameter para)
throws BCException
para - TransferParameter (必填)单笔打款参数
BCException
public static String startTransfers(TransfersParameter para)
throws BCException
para - TransfersParameter (必填) 批量打款参数
BCException
public static BCBatchRefund startBatchRefund(BCBatchRefund batchRefund)
throws BCException
batchRefund - (必填) 预退款批量审核参数
BCException
public static boolean verifySign(String sign,
String timestamp)
sign - (必填) Webhook提供的签名timestamp - (必填) Webhook提供的timestamp,注意是String格式
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||