diff --git a/md/boc.go b/md/boc.go index 25b9e13..52e854e 100644 --- a/md/boc.go +++ b/md/boc.go @@ -115,3 +115,34 @@ type CreateQRTradeResponse struct { Result string `json:"result"` PayURL string `json:"payUrl"` } + +type OfflineResultResponse struct { + Version string `json:"version" name:"接口版本" label:"當前文檔接口版本送值:2.0 "` + ServerSign string `json:"serverSign" name:"服務器簽名域" label:"服務器對報文的簽名值。簽名機制見2.1"` + Service string `json:"service" name:"接口類型" label:"固定值:OfflineResult"` + Status string `json:"status" name:"支付結果" label:"支付結果狀態SUCCESS"` + ReturnCode string `json:"returnCode" name:"返回信息碼" label:"000000-成功。返回碼請參照附錄"` + ReturnMessage string `json:"returnMessage" name:"返回信息碼描述" label:""` + LogNo string `json:"logNo" name:"平臺訂單號" label:"中銀智慧付訂單號,可用于訂單查詢接口查詢結果以及退款接口退款"` + MerchantID string `json:"merchantId" name:"合作商戶編號" label:"中銀智慧付給合作商戶分配的唯一標識"` + OrderDate string `json:"orderDate" name:"訂單日期" label:"訂單建立日期,格式yyyyMMdd"` + OrderTime string `json:"orderTime" name:"訂單創建時間" label:"HHmmss"` + PayDate string `json:"payDate" name:"支付日期" label:"会计日期"` + PayTime string `json:"payTime" name:"支付时间" label:""` + MerchantOrderNo string `json:"merchantOrderNo" name:"商戶系統消費訂單號" label:""` + Amount string `json:"amount" name:"訂單總金額" label:"訂單金額,以分爲單位"` + Fee string `json:"fee" name:"費用" label:"以分爲單位"` + PayChannel string `json:"payChannel" name:"支付方式" label:"BOCPAY - 澳门中银手机银行ALIPAY - 支付宝WECHATPAY - 微信支付TAIFUNGPAY - 豐付寶ICBCEPAY - 工銀E支付MPAY - 澳門通LUSOPAY - 國際銀行UEPAY - 極易付CGBPAY - 廣發MPGS - 銀行卡支付網關UNIONPAYQR - 雲閃付"` + ThirdLogNo string `json:"thirdLogNo" name:"第三方交易訂單號" label:"第三方支付訂單號"` + CashFee string `json:"cashFee" name:"第三方支付金額" label:"以分爲單位"` + CashFeeType string `json:"cashFeeType" name:"第三方支付幣種" label:""` + UserID string `json:"userId" name:"唯一识别号" label:"微信openid ,支付宝userid,手机银行CIF"` + MerchantMarketFlag string `json:"merchantMarketFlag" name:"是否使用优惠" label:"Y-是N-否"` + MarketCnName string `json:"marketCnName" name:"优惠活动中文名称" label:""` + MerchantMarketID string `json:"merchantMarketId" name:"優惠活動編號" label:""` + MarketEnName string `json:"marketEnName" name:"优惠活动英文名称" label:""` + ActualPayAmount string `json:"actualPayAmount" name:"实际支付金额" label:"以分为单位"` + Reserved1 string `json:"reserved1" name:"商戶備用字段1" label:"交易成功后原樣返回給商戶"` + Reserved2 string `json:"reserved2" name:"商戶備用字段2" label:"交易成功后原樣返回給商戶"` + Reserved3 string `json:"reserved3" name:"商戶備用字段3" label:"交易成功后原樣返回給商戶"` +}