Метод | Описание | |
---|---|---|
BCApproveRefund ( string channel, List |
预退款(批量)审核
|
|
BCAuthentication ( string name, string IDNo, string cardNo, string mobile ) : bool |
身份实名验证,支持二要素,三要素,四要素验证
|
|
BCBankCardTransfer ( |
BC银行卡代付
|
|
BCCJBankCardTransfer ( BCCJTransferWithBackCard transfer ) : BCCJTransferWithBackCard | ||
BCInternationalPay ( |
境外支付
|
|
BCOfflineBillStatus ( string billNo, string channel ) : bool |
支付宝微信扫码/被扫订单状态查询
|
|
BCOfflinePayByChannel ( |
微信支付宝扫码/被扫支付
|
|
BCPayByChannel ( |
支付
|
|
BCPayQueryByCondition ( |
支付订单查询
|
|
BCPayQueryById ( string id ) : |
支付订单查询(指定ID)
|
|
BCPayQueryCount ( |
获得订单笔数,配合BCPayQueryByCondition使用,使用查询订单时一样的参数
|
|
BCRefundByChannel ( |
(预)退款
|
|
BCRefundQueryByCondition ( |
退款订单查询
|
|
BCRefundQueryById ( string id ) : |
退款订单查询(指定ID)
|
|
BCRefundQueryCount ( |
获得退款笔数,配合BCRefundQueryByCondition使用,使用查询退款时一样的参数
|
|
BCRefundStatusQuery ( string channel, string refundNo ) : string |
退款状态查询"
|
|
BCTransfer ( |
打款
|
|
BCTransfers ( BCTransfersParameter para ) : string |
批量打款
|
|
createPlan ( BCPlan plan ) : BCPlan |
创建订阅计划
|
|
createSubscription ( string smsID, string smsCode, BCSubscription subscription ) : BCSubscription |
创建订阅记录
|
|
deletePlan ( string id ) : string |
删除订阅计划
|
|
deleteSubscription ( string id, bool atPeriodEnd ) : string |
删除订阅记录
|
|
getBankFullNames ( string type ) : BankList |
获取BeeCloud企业打款支持的银行全称列表
|
|
getBanks ( ) : List |
获取所有支持订阅的银行列表
|
|
getCommonBanks ( ) : List |
获取常用的支持订阅的银行列表
|
|
handleApproveRefundResult ( string respString, string channel ) : |
||
handleBCTransferWithBankCardResult ( string respString, |
||
handleInternationalPayResult ( string respString, |
||
handlePayQueryByConditionResult ( string respString, bool needDetail ) : List |
||
handlePayQueryByIdResult ( string respString ) : |
||
handlePayResult ( string respString, |
||
handleQueryCountResult ( string respString ) : int | ||
handleRefundQueryByConditionResult ( string respString, bool needDetail ) : List |
||
handleRefundQueryByIdResult ( string respString ) : |
||
handleRefundResult ( string respString, |
||
handleRefundStatusQueryResult ( string respString ) : string | ||
handleTransfersResult ( string respString, string channel ) : string | ||
prepareApproveRefundParameters ( string channel, List |
||
prepareBCTransferWithBankCard ( |
||
prepareInternationalPayParameters ( |
||
preparePayParameters ( |
||
preparePayQueryByConditionParameters ( |
||
prepareQueryByIdParameters ( string id ) : string | ||
prepareRefundParameters ( |
||
prepareRefundQueryByConditionParameters ( |
||
prepareRefundStatusQueryParameters ( string channel, string refundNo ) : string | ||
prepareTransferParameters ( |
||
prepareTransfersParameters ( BCTransfersParameter para ) : string | ||
queryPlanByID ( string id ) : BCPlan |
根据ID查询订阅计划
|
|
queryPlansByCondition ( string nameWithSubstring, string interval, int intervalCount, int trialDays, long createdBefore, long createdAfter, int skip, int limit, bool countOnly ) : List |
按条件查询订阅计划
|
|
querySubscriptionByID ( string id ) : BCSubscription |
按ID查询订阅记录
|
|
querySubscriptionsByCondition ( string buyerID, string planID, string cardID, long createdBefore, long createdAfter, int skip, int limit, bool countOnly ) : List |
按条件查询用户订阅
|
|
sendSMS ( string phone ) : string |
给用户发送验证码
|
|
updatePlan ( string id, string name, bool valid, string>.Dictionary |
跟新订阅计划
|
|
updateSubscription ( string id, string buyerID, string planID, string cardID, double amount, string coupon, long trialEnd, string>.Dictionary |
跟新订阅记录
|
public static BCApproveRefund ( string channel, List |
||
channel | string | 渠道类型 /// 根据不同渠道选不同的值 /// 必填 /// 可以通过enum BCPay.RefundChannel获取 /// ALI: 支付宝 /// WX: 微信 /// UN: 银联 /// JD: 京东 /// YEE: 易宝 /// KUAIQIAN: 快钱 /// BD: 百度 /// |
ids | List |
退款记录id列表 /// 批量审核的退款记录的唯一标识符集合 /// 必填 /// |
agree | bool | 同意或者驳回 /// 批量驳回传false,批量同意传true /// 必填 /// |
denyReason | string | 驳回理由 /// 可空 /// |
Результат |
public static BCAuthentication ( string name, string IDNo, string cardNo, string mobile ) : bool | ||
name | string | 身份证姓名 |
IDNo | string | 身份证号 |
cardNo | string | 用户银行卡号(选填) |
mobile | string | 用户银行卡预留手机号(选填) |
Результат | bool |
public static BCBankCardTransfer ( |
||
transfer | 具体参考初始化BCTransferWithBackCard | |
Результат |
public static BCCJBankCardTransfer ( BCCJTransferWithBackCard transfer ) : BCCJTransferWithBackCard | ||
transfer | BCCJTransferWithBackCard | |
Результат | BCCJTransferWithBackCard |
public static BCInternationalPay ( |
||
bill | ||
Результат |
public static BCOfflineBillStatus ( string billNo, string channel ) : bool | ||
billNo | string | |
channel | string | |
Результат | bool |
public static BCOfflinePayByChannel ( |
||
bill | ||
Результат |
public static BCPayByChannel ( |
||
bill | ||
Результат |
public static BCPayQueryByCondition ( |
||
para | ||
Результат | List |
public static BCPayQueryById ( string id ) : |
||
id | string | 订单id |
Результат |
public static BCPayQueryCount ( |
||
para | ||
Результат | int |
public static BCRefundByChannel ( |
||
refund | ||
Результат |
public static BCRefundQueryByCondition ( |
||
para | ||
Результат | List |
public static BCRefundQueryById ( string id ) : |
||
id | string | 退款记录的唯一标识,可用于查询单笔记录 |
Результат |
public static BCRefundQueryCount ( |
||
para | ||
Результат | int |
public static BCRefundStatusQuery ( string channel, string refundNo ) : string | ||
channel | string | 渠道类型 /// 只有WX、YEE、KUAIQIAN、BD需要 /// |
refundNo | string | 商户退款单号 /// |
Результат | string |
public static BCTransfer ( |
||
para | ||
Результат | string |
public static BCTransfers ( BCTransfersParameter para ) : string | ||
para | BCTransfersParameter | |
Результат | string |
public static createPlan ( BCPlan plan ) : BCPlan | ||
plan | BCPlan | 设置计划参数 |
Результат | BCPlan |
public static createSubscription ( string smsID, string smsCode, BCSubscription subscription ) : BCSubscription | ||
smsID | string | 用户短信ID,通过sendSMS方法发送给用户手机时获得 |
smsCode | string | 用户短信验证码 |
subscription | BCSubscription | 设置订阅参数 |
Результат | BCSubscription |
public static deletePlan ( string id ) : string | ||
id | string | |
Результат | string |
public static deleteSubscription ( string id, bool atPeriodEnd ) : string | ||
id | string | |
atPeriodEnd | bool | |
Результат | string |
public static getBankFullNames ( string type ) : BankList | ||
type | string | 业务类型: /// P_DE:对私借记卡, /// P_CR:对私信用卡, /// C:对公账户 /// |
Результат | BankList |
public static handleApproveRefundResult ( string respString, string channel ) : |
||
respString | string | |
channel | string | |
Результат |
public static handleBCTransferWithBankCardResult ( string respString, |
||
respString | string | |
transfer | ||
Результат |
public static handleInternationalPayResult ( string respString, |
||
respString | string | |
bill | ||
Результат |
public static handlePayQueryByConditionResult ( string respString, bool needDetail ) : List |
||
respString | string | |
needDetail | bool | |
Результат | List |
public static handlePayQueryByIdResult ( string respString ) : |
||
respString | string | |
Результат |
public static handlePayResult ( string respString, |
||
respString | string | |
bill | ||
Результат |
public static handleQueryCountResult ( string respString ) : int | ||
respString | string | |
Результат | int |
public static handleRefundQueryByConditionResult ( string respString, bool needDetail ) : List |
||
respString | string | |
needDetail | bool | |
Результат | List |
public static handleRefundQueryByIdResult ( string respString ) : |
||
respString | string | |
Результат |
public static handleRefundResult ( string respString, |
||
respString | string | |
refund | ||
Результат |
public static handleRefundStatusQueryResult ( string respString ) : string | ||
respString | string | |
Результат | string |
public static handleTransfersResult ( string respString, string channel ) : string | ||
respString | string | |
channel | string | |
Результат | string |
public static prepareApproveRefundParameters ( string channel, List |
||
channel | string | |
ids | List |
|
agree | bool | |
denyReason | string | |
Результат | string |
public static prepareBCTransferWithBankCard ( |
||
transfer | ||
Результат | string |
public static prepareInternationalPayParameters ( |
||
bill | ||
Результат | string |
public static preparePayParameters ( |
||
bill | ||
Результат | string |
public static preparePayQueryByConditionParameters ( |
||
para | ||
Результат | string |
public static prepareQueryByIdParameters ( string id ) : string | ||
id | string | |
Результат | string |
public static prepareRefundParameters ( |
||
refund | ||
Результат | string |
public static prepareRefundQueryByConditionParameters ( |
||
para | ||
Результат | string |
public static prepareRefundStatusQueryParameters ( string channel, string refundNo ) : string | ||
channel | string | |
refundNo | string | |
Результат | string |
public static prepareTransferParameters ( |
||
para | ||
Результат | string |
public static prepareTransfersParameters ( BCTransfersParameter para ) : string | ||
para | BCTransfersParameter | |
Результат | string |
public static queryPlanByID ( string id ) : BCPlan | ||
id | string | |
Результат | BCPlan |
public static queryPlansByCondition ( string nameWithSubstring, string interval, int intervalCount, int trialDays, long createdBefore, long createdAfter, int skip, int limit, bool countOnly ) : List |
||
nameWithSubstring | string | 订阅计划名 |
interval | string | 订阅周期 |
intervalCount | int | 周期长度 |
trialDays | int | 订阅发生时间与实际扣款时间之间的时长 |
createdBefore | long | 创建时间前 |
createdAfter | long | 创建时间后 |
skip | int | 跳过数量 |
limit | int | 查询限量 |
countOnly | bool | 设置为true时只返回数量,设置为false时只返回plan记录 |
Результат | List |
public static querySubscriptionByID ( string id ) : BCSubscription | ||
id | string | |
Результат | BCSubscription |
public static querySubscriptionsByCondition ( string buyerID, string planID, string cardID, long createdBefore, long createdAfter, int skip, int limit, bool countOnly ) : List |
||
buyerID | string | 用户ID |
planID | string | 订阅计划ID |
cardID | string | 用户卡ID |
createdBefore | long | 创建时间前 |
createdAfter | long | 创建时间后 |
skip | int | 跳过数量 |
limit | int | 查询限量 |
countOnly | bool | 设置为true时只返回数量,设置为false时只返回plan记录 |
Результат | List |
public static sendSMS ( string phone ) : string | ||
phone | string | 用户电话 |
Результат | string |
public static updatePlan ( string id, string name, bool valid, string>.Dictionary |
||
id | string | 计划ID |
name | string | 计划名 |
valid | bool | |
optional | string>.Dictionary | 自定义字段 |
Результат | string |
public static updateSubscription ( string id, string buyerID, string planID, string cardID, double amount, string coupon, long trialEnd, string>.Dictionary |
||
id | string | |
buyerID | string | |
planID | string | |
cardID | string | |
amount | double | |
coupon | string | |
trialEnd | long | |
optional | string>.Dictionary | |
Результат | string |