Documentation ¶
Index ¶
- Constants
- Variables
- func DecryptB64TriDesTo(crypted string, des3key []byte, result interface{}) error
- func PKCS5Padding(ciphertext []byte, blockSize int) []byte
- func PKCS5UnPadding(origData []byte) []byte
- func TripleDesDecrypt(crypted, des3key []byte) ([]byte, error)
- func TripleDesEncrypt(origData, des3key []byte) ([]byte, error)
- type AccountBalanceData
- type AliPayOrderReq
- type BankCardOrderReq
- type BankCardQueryData
- type BankNameAccount
- type BillDownloadData
- type CallbackResponse
- type CancelOrderData
- type CommonResponse
- type DownloadOrderDayData
- type Error
- type FileInfo
- type GoodsServicesName
- type H5PreSignData
- type H5SignData
- type H5SignNotify
- type H5SignStatusData
- type IResponse
- type InvoiceAmountData
- type InvoiceApplyData
- type InvoicePDFDownloadData
- type InvoiceStatData
- type InvoiceStatusData
- type Order
- type OrderAlipayData
- type OrderDownloadData
- type OrderRealtimeData
- type OrderStatus
- type OrderStatusDetail
- type OrderWxpayData
- type Page
- type PaymentNotify
- type QueryBill
- type QueryBillData
- type QueryOrder
- type QueryOrderData
- type ReceiptFileData
- type RechargeRecordData
- type ReqBankCardQuery
- type ReqBillDownload
- type ReqDownloadOrderDay
- type ReqInvoiceAmount
- type ReqInvoiceApply
- type ReqInvoicePDFDownload
- type ReqInvoiceReminderEmail
- type ReqInvoiceStat
- type ReqInvoiceStatus
- type ReqOrderDownload
- type ReqQueryBill
- type ReqQueryOrder
- type ReqRechargeRecord
- type ReqTaxFileDownload
- type ReqUserCross
- type ReqUserWhiteCheck
- type ReqVerifyBankCardFourFactor
- type ReqVerifyBankCardThreeFactor
- type ReqVerifyConfirm
- type ReqVerifyIdCard
- type ReqVerifyRequest
- type SignReleaseData
- type StatusCode
- type TaxFileDownloadData
- type Time
- type UserCrossData
- type UserWhiteCheckData
- type VaAccountData
- type VerifyBankCardThreeFactorData
- type VerifyRequestData
- type WxPayOrderReq
- type Yunzhanghu
- func (y *Yunzhanghu) BankCardQuery(ctx context.Context, req ReqBankCardQuery) (*BankCardQueryData, error)
- func (y *Yunzhanghu) BillDownload(ctx context.Context, date string) (*BillDownloadData, error)
- func (y *Yunzhanghu) CancelOrder(ctx context.Context, orderId, ref, channel string) (*CancelOrderData, error)
- func (y *Yunzhanghu) DownloadOrderDay(ctx context.Context, date string) (*DownloadOrderDayData, error)
- func (y *Yunzhanghu) H5PreSign(ctx context.Context, realName, idCard string, certType int) (*H5PreSignData, error)
- func (y *Yunzhanghu) H5Sign(ctx context.Context, token, color string) (*H5SignData, error)
- func (y *Yunzhanghu) H5SignCallbackHandler(ctx *gin.Context)
- func (y *Yunzhanghu) H5SignRelease(ctx context.Context, realName, idCard string, certType int) (*SignReleaseData, error)
- func (y *Yunzhanghu) H5SignStatus(ctx context.Context, realName, idCard string) (*H5SignStatusData, error)
- func (y *Yunzhanghu) InvoiceAmount(ctx context.Context, req *ReqInvoiceAmount) (*InvoiceAmountData, error)
- func (y *Yunzhanghu) InvoiceApply(ctx context.Context, req *ReqInvoiceApply) (*InvoiceApplyData, error)
- func (y *Yunzhanghu) InvoicePDFDownload(ctx context.Context, req *ReqInvoicePDFDownload) (*InvoicePDFDownloadData, error)
- func (y *Yunzhanghu) InvoiceReminderEmail(ctx context.Context, req *ReqInvoiceReminderEmail) error
- func (y *Yunzhanghu) InvoiceStat(ctx context.Context, req ReqInvoiceStat) (*InvoiceStatData, error)
- func (y *Yunzhanghu) InvoiceStatus(ctx context.Context, req *ReqInvoiceStatus) (*InvoiceStatusData, error)
- func (y *Yunzhanghu) NotifyCallbackHandler(ctx *gin.Context)
- func (y *Yunzhanghu) OrderAlipay(ctx context.Context, order AliPayOrderReq) (*OrderAlipayData, error)
- func (y *Yunzhanghu) OrderDownload(ctx context.Context, date string) (*OrderDownloadData, error)
- func (y *Yunzhanghu) OrderRealTime(ctx context.Context, order BankCardOrderReq) (*OrderRealtimeData, error)
- func (y *Yunzhanghu) OrderWxpay(ctx context.Context, order *WxPayOrderReq) (*OrderWxpayData, error)
- func (y *Yunzhanghu) QueryAccounts(ctx context.Context) ([]*AccountBalanceData, error)
- func (y *Yunzhanghu) QueryBill(ctx context.Context, req ReqQueryBill) ([]*QueryBill, error)
- func (y *Yunzhanghu) QueryOrder(ctx context.Context, req ReqQueryOrder) ([]*QueryOrder, error)
- func (y *Yunzhanghu) QueryRealtimeOrder(ctx context.Context, orderId, channel string) (*Order, error)
- func (y *Yunzhanghu) QueryVaAccount(ctx context.Context) (*VaAccountData, error)
- func (y *Yunzhanghu) ReceiptFile(ctx context.Context, orderId, ref string) (*ReceiptFileData, error)
- func (y *Yunzhanghu) RechargeRecord(ctx context.Context, begin string, end string) (*RechargeRecordData, error)
- func (y *Yunzhanghu) TaxFileDownload(ctx context.Context, req *ReqTaxFileDownload) ([]*FileInfo, error)
- func (y *Yunzhanghu) UserCross(ctx context.Context, req *ReqUserCross) (*UserCrossData, error)
- func (y *Yunzhanghu) UserWhiteCheck(ctx context.Context, req *ReqUserWhiteCheck) (*UserWhiteCheckData, error)
- func (y *Yunzhanghu) VerifyBankCardFourFactor(ctx context.Context, req *ReqVerifyBankCardFourFactor) error
- func (y *Yunzhanghu) VerifyBankCardThreeFactor(ctx context.Context, req *ReqVerifyBankCardThreeFactor) error
- func (y *Yunzhanghu) VerifyConfirm(ctx context.Context, req *ReqVerifyConfirm) error
- func (y *Yunzhanghu) VerifyIdCard(ctx context.Context, req *ReqVerifyIdCard) error
- func (y *Yunzhanghu) VerifyRequest(ctx context.Context, req *ReqVerifyRequest) (*VerifyRequestData, error)
Constants ¶
View Source
const ( ORDER_CHANNEL_BANK = "银行卡" ORDER_CHANNEL_ALIPAY = "支付宝" ORDER_CHANNEL_WEIXIN = "微信" WITHDRAW_PLATFORM_BANKPAY = "bankpay" WITHDRAW_PLATFORM_ALIPAY = "alipay" WITHDRAW_PLATFORM_WXPAY = "wxpay" )
View Source
const ( SIGN_CERT_TYPE_IDCARD = 0 //身份证 SIGN_CERT_TYPE_HK_PASSPORT = 2 //港澳居民来往内地通行证 SIGN_CERT_TYPE_PASSPORT = 3 //护照 SIGN_CERT_TYPE_TW_PASSPORT = 5 //台湾居民来往大陆通行证 )
View Source
const ( SIGN_STATUS_NO = 0 //未签约 SIGN_STATUS_YES = 1 //已签约 SIGN_STATUS_CANCEL = 2 //已解约 SIGN_STATUS_NOT_FOUND = 9 //不存在签约关系 )
View Source
const ( RESP_STR_FAILD = "fail" RESP_STR_SUCCESS = "success" )
View Source
const BankCardQueryURI = "/api/payment/v1/card"
View Source
const BillDownloadURI = "/api/dataservice/v2/bill/downloadurl"
View Source
const DownloadOrderDayURI = "/api/dataservice/v1/order/day/url"
View Source
const InvoiceAmountURI = "/api/invoice/v2/invoice-amount"
View Source
const InvoiceApplyURI = "/api/invoice/v2/apply"
View Source
const InvoicePDFDownloadURI = "/api/invoice/v2/invoice/invoice-pdf"
View Source
const InvoiceReminderEmailURI = "/api/invoice/v2/invoice/reminder/email"
View Source
const InvoiceStatURI = ""
View Source
const InvoiceStatusURI = "/api/invoice/v2/invoice/invoice-status"
View Source
const OrderDownloadURI = "/api/dataservice/v1/order/downloadurl"
View Source
const QueryBillURI = "/api/dataservice/v1/bills"
View Source
const QueryOrderURI = "/api/dataservice/v1/orders"
View Source
const RechargeRecordURI = "/api/dataservice/v2/recharge-record"
View Source
const TaxFileDownloadURI = ""
View Source
const UserCrossURI = "/api/tax/v1/user/cross"
View Source
const UserWhiteCheckURI = "/api/payment/v1/user/white/check"
View Source
const VerifyBankCardFourFactorURI = "/authentication/verify-bankcard-four-factor"
View Source
const VerifyBankCardThreeFactorURI = "/authentication/verify-bankcard-three-factor"
View Source
const VerifyConfirmURI = ""
View Source
const VerifyIdCardURI = "/authentication/verify-id"
View Source
const VerifyRequestURI = "/authentication/verify-request"
Variables ¶
View Source
var (
ShangHaiTimeLocation, _ = time.LoadLocation("Asia/Shanghai")
)
Functions ¶
func DecryptB64TriDesTo ¶
func PKCS5Padding ¶
func PKCS5UnPadding ¶
Types ¶
type AccountBalanceData ¶
type AccountBalanceData struct { BrokerID string `json:"broker_id"` // 综合服务主体 ID AcctBalance float64 `json:"acct_balance,string"` // 余额账户余额 AlipayBalance float64 `json:"alipay_balance,string"` // 支付宝余额 BankCardBalance float64 `json:"bank_card_balance,string"` // 银行卡余额 WxpayBalance float64 `json:"wxpay_balance,string"` // 微信余额 IsAlipay bool `json:"is_alipay"` // 是否开通支付宝通道 IsBankCard bool `json:"is_bank_card"` // 是否开通银行卡通道 IsWxpay bool `json:"is_wxpay"` // 是否开通微信通道 RebateFeeBalance float64 `json:"rebate_fee_balance,string"` // 服务费返点余额 TotalBalance float64 `json:"total_balance,string"` // 总余额 }
type AliPayOrderReq ¶
type BankCardOrderReq ¶
type BankCardQueryData ¶
type BankNameAccount ¶
type BillDownloadData ¶
type BillDownloadData struct {
BillDownloadUrl string `json:"bill_download_url"` //日流水文件下载地址
}
type CallbackResponse ¶
type CallbackResponse struct { Data string `form:"data"` Mess string `form:"mess"` Timestamp string `form:"timestamp"` Sign string `form:"sign"` SignType string `form:"sign_type"` }
回调响应通用结构
type CancelOrderData ¶
type CancelOrderData struct {
Ok bool `json:"ok,string"` // true
}
type CommonResponse ¶
type CommonResponse struct { Code StatusCode `json:"code"` Message string `json:"message"` RequestId string `json:"request_id"` }
主动请求响应通用结构
func (*CommonResponse) GetCode ¶
func (r *CommonResponse) GetCode() StatusCode
func (*CommonResponse) GetMessage ¶
func (r *CommonResponse) GetMessage() string
func (*CommonResponse) GetRequestId ¶
func (r *CommonResponse) GetRequestId() string
type DownloadOrderDayData ¶
type DownloadOrderDayData struct {
Url string `json:"url"`
}
type GoodsServicesName ¶
type H5PreSignData ¶
type H5SignData ¶
type H5SignData struct {
URL string `json:"url"` //h5 签约页面 url
}
type H5SignNotify ¶
type H5SignNotify struct { BrokerID string `json:"broker_id"` // yiyun DealerID string `json:"dealer_id"` // 01720374 IDCard string `json:"id_card"` // 360232199009115318 Phone string `json:"phone"` // RealName string `json:"real_name"` // 王小明 }
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
type H5SignStatusData ¶
type IResponse ¶
type IResponse interface { GetCode() StatusCode GetMessage() string GetRequestId() string }
type InvoiceAmountData ¶
type InvoiceAmountData struct { Amount string `json:"amount"` BankNameAccount []*BankNameAccount `json:"bank_name_account"` GoodsServicesName []*GoodsServicesName `json:"goods_services_name"` }
type InvoiceApplyData ¶
type InvoicePDFDownloadData ¶
type InvoiceStatData ¶
type InvoiceStatusData ¶
type InvoiceStatusData struct { Status string `json:"status"` Count int `json:"count"` PriceTaxAmount string `json:"price_tax_amount"` PriceAmount string `json:"price_amount"` TaxAmount string `json:"tax_amount"` InvoiceType string `json:"invoice_type"` CustomerName string `json:"customer_name"` CustomerTaxNum string `json:"customer_tax_num"` CustomerAddressTel string `json:"customer_address_tel"` BankNameAccount string `json:"bank_name_account"` GoodsServiceName string `json:"goods_service_name"` Remark string `json:"remark"` PostType string `json:"post_type"` WaybillNumber []string `json:"waybill_number"` }
type Order ¶
type Order struct { OrderId string `json:"order_id"` // 商户订单号,由商户保持唯⼀一性 Pay float64 `json:"pay,string"` // 金额 BrokerId string `json:"broker_id"` // 经纪公司 DealerId string `json:"dealer_id"` // 商户代码 RealName string `json:"real_name"` // 姓名 CardNo string `json:"card_no"` // 卡号 IdCard string `json:"id_card"` // 身份证号 PhoneNo string `json:"phone_no"` // 手机号 Status OrderStatus `json:"status"` // 订单状态码,详⻅见:附录1订单状态码 StatusDetail OrderStatusDetail `json:"status_detail"` // 订单详细状态码,详⻅见:附录2订单详细状态码 StatusMessage string `json:"status_message"` // 状态码说明,详⻅见:附录1订单状态码 StatusDetailMessage string `json:"status_detail_message"` // 状态详细状态码说明,详⻅见:附录2订单详细状态码 BrokerAmount string `json:"broker_amount"` // 综合服务主体打款金额 Ref string `json:"ref"` // 综合服务平台流水号,唯一 BrokerBankBill string `json:"broker_bank_bill"` // 综合服务平台打款交易流水号 WithdrawPlatform string `json:"withdraw_platform"` // bankpay:银行卡 alipay:支付宝 wxpay:微信 BrokerFee float64 `json:"broker_fee,string"` // 综合服务主体服务费 BrokerRealFee float64 `json:"broker_real_fee,string"` // 余额账户支出服务费 BrokerDeductFee float64 `json:"broker_deduct_fee,string"` // 抵扣账户支出服务费 UserFee float64 `json:"user_fee,string"` // 用户服务费 BankName string `json:"bank_name"` // 银行名称 PayRemark string `json:"pay_remark"` // 打款备注(选填,最⼤大20个字符,⼀一个汉字占2个字符,不不允许特殊字符:' " & | @ % * ( ) - : # ¥) CreatedAt Time `json:"created_at"` // 订单接收时间 FinishedTime Time `json:"finished_time"` // 订单处理理时间 }
func (Order) GetOrderStatus ¶
func (Order) GetOrderStatusDetail ¶
type OrderAlipayData ¶
type OrderDownloadData ¶
type OrderDownloadData struct {
OrderDownloadUrl string `json:"order_download_url"` //订单文件下载地址
}
type OrderRealtimeData ¶
type OrderStatus ¶
type OrderStatus int
func (OrderStatus) Message ¶
func (s OrderStatus) Message() string
type OrderStatusDetail ¶
type OrderStatusDetail int
func (OrderStatusDetail) Message ¶
func (d OrderStatusDetail) Message() string
type OrderWxpayData ¶
type PaymentNotify ¶
type QueryBill ¶
type QueryBill struct { BrokerId string `json:"broker_id"` DealerId string `json:"dealer_id"` OrderId string `json:"order_id"` Ref string `json:"ref"` BrokerProductName string `json:"broker_product_name"` DealerProductName string `json:"dealer_product_name"` BizRef string `json:"biz_ref"` AcctType string `json:"acct_type"` Amount string `json:"amount"` Balance string `json:"balance"` BusinessCategory string `json:"business_category"` BusinessType string `json:"business_type"` ConsumptionType string `json:"consumption_type"` CreateAt string `json:"create_at"` Remark string `json:"remark"` }
type QueryBillData ¶
type QueryOrder ¶
type QueryOrder struct { BrokerId string `json:"broker_id"` DealerId string `json:"dealer_id"` OrderId string `json:"order_id"` Ref string `json:"ref"` BatchId string `json:"batch_id"` RealName string `json:"real_name"` CardNo string `json:"card_no"` BrokerAmount string `json:"broker_amount"` BrokerFree string `json:"broker_free"` Bill string `json:"bill"` Status string `json:"status"` StatusDetail string `json:"status_detail"` StatusMessage string `json:"status_message"` StatusDetailMessage string `json:"status_detail_message"` StatementId string `json:"statement_id"` FeeStatmentId string `json:"fee_statment_id"` BalStatmentId string `json:"bal_statment_id"` Channel string `json:"channel"` CreateAt string `json:"create_at"` FinishedTime string `json:"finished_time"` }
type QueryOrderData ¶
type QueryOrderData struct { TotalNum int `json:"total_num"` List []*QueryOrder `json:"list"` }
type ReceiptFileData ¶
type ReceiptFileData struct { ExpireTime string `json:"expire_time"` // 精确到秒 2020-09-05 18:36:37 FileName string `json:"file_name"` // 电子回单名称 w_140_receipt_20180726.png URL string `json:"url"` // 电子回单的下载链接 https://xxxx }
type RechargeRecordData ¶
type RechargeRecordData struct { RechargeId string `json:"recharge_id"` // 充值记录 ID ActualAmount string `json:"actual_amount"` //单位:元,支持小数点后两位 Amount string `json:"amount"` //单位:元,支持小数点后两位 CreateAt string `json:"create_at"` //创建时间 Remark string `json:"remark"` //备注 RechargeChannel string `json:"recharge_channel"` //资金用途 RechargeAccountNo string `json:"recharge_account_no"` //商户充值使用的付款银行账号 }
type ReqBankCardQuery ¶
type ReqBillDownload ¶
type ReqBillDownload struct {
BillDate string `json:"bill_date"` //格式:yyyy-MM-dd
}
type ReqDownloadOrderDay ¶
type ReqDownloadOrderDay struct {
OrderDate string `json:"order_date"`
}
type ReqInvoiceAmount ¶
type ReqInvoiceApply ¶
type ReqInvoiceApply struct { InvoiceApplyId string `json:"invoice_apply_id"` BrokerId string `json:"broker_id"` DealerId string `json:"dealer_id"` Amount string `json:"amount"` InvoiceType string `json:"invoice_type"` BankNameAccount string `json:"bank_name_account"` Remark string `json:"remark"` }
type ReqInvoicePDFDownload ¶
type ReqInvoiceReminderEmail ¶
type ReqInvoiceStat ¶
type ReqInvoiceStatus ¶
type ReqOrderDownload ¶
type ReqOrderDownload struct {
OrderDate string `json:"order_date"` //格式:yyyy-MM-dd
}
type ReqQueryBill ¶
type ReqQueryOrder ¶
type ReqRechargeRecord ¶
type ReqTaxFileDownload ¶
type ReqUserCross ¶
type ReqUserWhiteCheck ¶
type ReqVerifyConfirm ¶
type ReqVerifyIdCard ¶
type ReqVerifyRequest ¶
type SignReleaseData ¶
type SignReleaseData struct {
// contains filtered or unexported fields
}
type StatusCode ¶
type StatusCode string
func (StatusCode) Message ¶
func (s StatusCode) Message() string
type TaxFileDownloadData ¶
type TaxFileDownloadData struct {
FileInfo []*FileInfo `json:"file_info"`
}
type UserCrossData ¶
type UserCrossData struct {
IsCross bool `json:"is_cross"`
}
type UserWhiteCheckData ¶
type UserWhiteCheckData struct {
Ok string `json:"ok"`
}
type VaAccountData ¶
type VerifyBankCardThreeFactorData ¶
type VerifyBankCardThreeFactorData struct { }
type VerifyRequestData ¶
type VerifyRequestData struct {
Ref string `json:"ref"`
}
type WxPayOrderReq ¶
type Yunzhanghu ¶
type Yunzhanghu struct { DesKey string Appkey string Dealer string Broker string ApiAddr string WxAppID string // 商户微信 AppID //白名单IP //120.55.214.118 、 116.62.0.220 、 118.31.31.71 、 120.55.214.49 、 49.4.23.21 、 117.78.48.61 、 //39.98.185.242 、 39.98.236.201 PayNotifyUrl string PayNotifyCallback func(context.Context, *PaymentNotify) bool H5SignNotifyUrl string H5SignNotifyCallback func(context.Context, *H5SignNotify) bool H5SignRedirectURL string }
func NewDefault ¶
func NewDefault() *Yunzhanghu
func (*Yunzhanghu) BankCardQuery ¶
func (y *Yunzhanghu) BankCardQuery(ctx context.Context, req ReqBankCardQuery) (*BankCardQueryData, error)
func (*Yunzhanghu) BillDownload ¶
func (y *Yunzhanghu) BillDownload(ctx context.Context, date string) (*BillDownloadData, error)
func (*Yunzhanghu) CancelOrder ¶
func (y *Yunzhanghu) CancelOrder(ctx context.Context, orderId, ref, channel string) (*CancelOrderData, error)
func (*Yunzhanghu) DownloadOrderDay ¶
func (y *Yunzhanghu) DownloadOrderDay(ctx context.Context, date string) (*DownloadOrderDayData, error)
func (*Yunzhanghu) H5PreSign ¶
func (y *Yunzhanghu) H5PreSign(ctx context.Context, realName, idCard string, certType int) (*H5PreSignData, error)
func (*Yunzhanghu) H5Sign ¶
func (y *Yunzhanghu) H5Sign(ctx context.Context, token, color string) (*H5SignData, error)
func (*Yunzhanghu) H5SignCallbackHandler ¶
func (y *Yunzhanghu) H5SignCallbackHandler(ctx *gin.Context)
func (*Yunzhanghu) H5SignRelease ¶
func (y *Yunzhanghu) H5SignRelease(ctx context.Context, realName, idCard string, certType int) (*SignReleaseData, error)
H5 对接测试解约接口
func (*Yunzhanghu) H5SignStatus ¶
func (y *Yunzhanghu) H5SignStatus(ctx context.Context, realName, idCard string) (*H5SignStatusData, error)
func (*Yunzhanghu) InvoiceAmount ¶
func (y *Yunzhanghu) InvoiceAmount(ctx context.Context, req *ReqInvoiceAmount) (*InvoiceAmountData, error)
func (*Yunzhanghu) InvoiceApply ¶
func (y *Yunzhanghu) InvoiceApply(ctx context.Context, req *ReqInvoiceApply) (*InvoiceApplyData, error)
func (*Yunzhanghu) InvoicePDFDownload ¶
func (y *Yunzhanghu) InvoicePDFDownload(ctx context.Context, req *ReqInvoicePDFDownload) (*InvoicePDFDownloadData, error)
func (*Yunzhanghu) InvoiceReminderEmail ¶
func (y *Yunzhanghu) InvoiceReminderEmail(ctx context.Context, req *ReqInvoiceReminderEmail) error
func (*Yunzhanghu) InvoiceStat ¶
func (y *Yunzhanghu) InvoiceStat(ctx context.Context, req ReqInvoiceStat) (*InvoiceStatData, error)
func (*Yunzhanghu) InvoiceStatus ¶
func (y *Yunzhanghu) InvoiceStatus(ctx context.Context, req *ReqInvoiceStatus) (*InvoiceStatusData, error)
func (*Yunzhanghu) NotifyCallbackHandler ¶
func (y *Yunzhanghu) NotifyCallbackHandler(ctx *gin.Context)
func (*Yunzhanghu) OrderAlipay ¶
func (y *Yunzhanghu) OrderAlipay(ctx context.Context, order AliPayOrderReq) (*OrderAlipayData, error)
func (*Yunzhanghu) OrderDownload ¶
func (y *Yunzhanghu) OrderDownload(ctx context.Context, date string) (*OrderDownloadData, error)
func (*Yunzhanghu) OrderRealTime ¶
func (y *Yunzhanghu) OrderRealTime(ctx context.Context, order BankCardOrderReq) (*OrderRealtimeData, error)
func (*Yunzhanghu) OrderWxpay ¶
func (y *Yunzhanghu) OrderWxpay(ctx context.Context, order *WxPayOrderReq) (*OrderWxpayData, error)
func (*Yunzhanghu) QueryAccounts ¶
func (y *Yunzhanghu) QueryAccounts(ctx context.Context) ([]*AccountBalanceData, error)
func (*Yunzhanghu) QueryBill ¶
func (y *Yunzhanghu) QueryBill(ctx context.Context, req ReqQueryBill) ([]*QueryBill, error)
func (*Yunzhanghu) QueryOrder ¶
func (y *Yunzhanghu) QueryOrder(ctx context.Context, req ReqQueryOrder) ([]*QueryOrder, error)
func (*Yunzhanghu) QueryRealtimeOrder ¶
func (*Yunzhanghu) QueryVaAccount ¶
func (y *Yunzhanghu) QueryVaAccount(ctx context.Context) (*VaAccountData, error)
func (*Yunzhanghu) ReceiptFile ¶
func (y *Yunzhanghu) ReceiptFile(ctx context.Context, orderId, ref string) (*ReceiptFileData, error)
func (*Yunzhanghu) RechargeRecord ¶
func (y *Yunzhanghu) RechargeRecord(ctx context.Context, begin string, end string) (*RechargeRecordData, error)
func (*Yunzhanghu) TaxFileDownload ¶
func (y *Yunzhanghu) TaxFileDownload(ctx context.Context, req *ReqTaxFileDownload) ([]*FileInfo, error)
func (*Yunzhanghu) UserCross ¶
func (y *Yunzhanghu) UserCross(ctx context.Context, req *ReqUserCross) (*UserCrossData, error)
func (*Yunzhanghu) UserWhiteCheck ¶
func (y *Yunzhanghu) UserWhiteCheck(ctx context.Context, req *ReqUserWhiteCheck) (*UserWhiteCheckData, error)
func (*Yunzhanghu) VerifyBankCardFourFactor ¶
func (y *Yunzhanghu) VerifyBankCardFourFactor(ctx context.Context, req *ReqVerifyBankCardFourFactor) error
func (*Yunzhanghu) VerifyBankCardThreeFactor ¶
func (y *Yunzhanghu) VerifyBankCardThreeFactor(ctx context.Context, req *ReqVerifyBankCardThreeFactor) error
func (*Yunzhanghu) VerifyConfirm ¶
func (y *Yunzhanghu) VerifyConfirm(ctx context.Context, req *ReqVerifyConfirm) error
func (*Yunzhanghu) VerifyIdCard ¶
func (y *Yunzhanghu) VerifyIdCard(ctx context.Context, req *ReqVerifyIdCard) error
func (*Yunzhanghu) VerifyRequest ¶
func (y *Yunzhanghu) VerifyRequest(ctx context.Context, req *ReqVerifyRequest) (*VerifyRequestData, error)
Click to show internal directories.
Click to hide internal directories.