public class BCPayMultiApp extends Object
| 构造器和说明 |
|---|
BCPayMultiApp(String appId,
String testSecret,
String appSecret,
String masterSecret) |
public Boolean isSandbox()
public void setSandbox(Boolean sandbox)
public BCOrder startBCPay(BCOrder order) throws BCException
order - BCOrder (必填) 支付参数BCExceptionpublic BCRefund startBCRefund(BCRefund refund) throws BCException
refund - BCRefund (必填) 退款参数BCExceptionpublic List<BCOrder> startQueryBill(BCQueryParameter para) throws BCException
para - BCQueryParameter (必填) 订单查询参数BCExceptionpublic BCOrder startQueryBillById(String objectId) throws BCException
objectId - (必填) 订单记录唯一标识BCExceptionpublic Integer startQueryBillCount(BCQueryParameter para) throws BCException
para - BCQueryParameter (必填)订单总数查询参数BCExceptionpublic List<BCRefund> startQueryRefund(BCQueryParameter para) throws BCException
para - BCQueryParameter (必填)订单查询参数BCExceptionpublic BCRefund startQueryRefundById(String objectId) throws BCException
objectId - (必填) 退款记录唯一标识BCExceptionpublic Integer startQueryRefundCount(BCQueryParameter para) throws BCException
para - BCQueryParameter (必填) 退款总数查询参数BCExceptionpublic String startRefundUpdate(BCEumeration.PAY_CHANNEL channel, String refundNo) throws BCException
refundNo - (必填)商户退款单号, 格式为:退款日期(8位) + 流水号(3~24
位)。不可重复,且退款日期必须是当天日期。流水号可以接受数字或英文字符,建议使用数字,但不可接受“000”。channel - (必填) 渠道类型, 根据不同场景选择不同的支付方式,包含: YEE 易宝 WX 微信 KUAIQIAN 快钱 BD 百度BCExceptionpublic String startTransfer(TransferParameter para) throws BCException
para - TransferParameter (必填)单笔打款参数BCExceptionpublic String startTransfers(TransfersParameter para) throws BCException
para - TransfersParameter (必填) 批量打款参数BCExceptionpublic BCBatchRefund startBatchRefund(BCBatchRefund batchRefund) throws BCException
batchRefund - (必填) 批量退款参数BCExceptionpublic BCInternationlOrder startBCInternatioalPay(BCInternationlOrder order) throws BCException
order - BCInternationlOrder (必填)BCExceptionpublic void startBCTransfer(BCTransferParameter bcTransferParameter) throws BCException
bcTransferParameter - BCTransferParameter (必填) 支付参数BCExceptionpublic List<String> fetchBCTransfersBanks(BCEumeration.BC_TRANSFER_BANK_TYPE type) throws BCException
BCExceptionCopyright © 2017. All rights reserved.