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