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