public class BCPay extends Object
| 构造器和说明 |
|---|
BCPay() |
public static BCOrder startBCPay(BCOrder order) throws BCException
order - BCOrder (必填) 支付参数BCExceptionpublic static Map<String,Object> billConfirm(BCBillConfirm confirm) throws BCException
confirm - BCBillConfirm (必填) 支付rfa参数BCExceptionpublic static BCOrder startBCOfflinePay(BCOrder order) throws BCException
order - BCOrder (必填) 支付参数BCExceptionpublic static BCAuth startBCAuth(BCAuth auth) throws BCException
auth - BCAuth (必填) 鉴权参数BCExceptionpublic static BCCardSign startBCCardSign(BCCardSign cardSign) throws BCException
cardSign - BCCardSign (必填) 银行卡实名认证及代付签约接参数BCExceptionpublic static Map<String,Object> startBCTransfer(BCTransferParameter bcTransferParameter) throws BCException
bcTransferParameter - BCTransferParameter (必填) 支付参数BCExceptionpublic static Map<String,Object> startBCT0transfer(BCT0TransferParameter bcTransferParameter) throws BCException
BCExceptionpublic static Map<String,Object> startBCT1transfer(BCT1TransferParameter bcTransferParameter) throws BCException
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 Map<String,Object> historyBills(BCHistoryBills historyBills) throws BCException
historyBills - BCHistoryBills (必填) 历史数据参数BCExceptionpublic static List<String> fetchBCTransfersBanks(BCEumeration.BC_TRANSFER_BANK_TYPE type) throws BCException
BCExceptionpublic static boolean verifySign(String signature, String transactionId, String transactionType, String channelType, String transactionFee)
public static String generateSignature(String transactionId, String transactionType, String channelType, String transactionFee)
public static List<String> getGateWayBanks(BCGateWayBanks para) throws BCException
BCExceptionpublic static List<String> getTransferBanks(BCTransferBanks para) throws BCException
BCExceptionpublic static List<BCTransferOrder> startTransferQuery(BCTransferQueryParameter para) throws BCException
para - BCTransferQueryParameter (必填)打款订单查询参数BCExceptionpublic static Integer startTransferQueryCount(BCTransferQueryParameter para) throws BCException
para - BCTransferQueryParameter (必填)打款订单总数查询参数BCExceptionCopyright © 2017. All rights reserved.