|
@@ -45,6 +45,18 @@ type CreateBocPayAppTradeReq struct { |
|
|
Reserved3 string `json:"reserved3" name:"商戶備用字段" label:"交易成功后原樣返回給商戶"` |
|
|
Reserved3 string `json:"reserved3" name:"商戶備用字段" label:"交易成功后原樣返回給商戶"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type CreateBocPayAppTradeResponse struct { |
|
|
|
|
|
MacaoBOCPublicResponse |
|
|
|
|
|
LogNo string `json:"logNo"` |
|
|
|
|
|
Amount string `json:"amount"` |
|
|
|
|
|
Result string `json:"result"` |
|
|
|
|
|
PayOrderString struct { |
|
|
|
|
|
PrepayID string `json:"prepayId"` |
|
|
|
|
|
PaySign string `json:"paySign"` |
|
|
|
|
|
} `json:"payOrderString"` |
|
|
|
|
|
MerchantMarketInformation string `json:"merchantMarketInformation"` |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
type CreateWeChatTradeReq struct { |
|
|
type CreateWeChatTradeReq struct { |
|
|
MacaoBOCPublicParameter |
|
|
MacaoBOCPublicParameter |
|
|
Amount string `json:"amount" name:"订单金額" label:"以分爲單位,如1元表示爲100"` |
|
|
Amount string `json:"amount" name:"订单金額" label:"以分爲單位,如1元表示爲100"` |
|
@@ -95,3 +107,11 @@ type CreateQRTradeReq struct { |
|
|
GoodsInfo string `json:"goodsInfo" name:"商品信息" label:"包含商品的SKU名和相应的数量,格式为 SKU_名^数量。若存在超过一件商品,用竖线(|)分隔。备注:仅在businessType字段值为4时,本字段为必填。"` |
|
|
GoodsInfo string `json:"goodsInfo" name:"商品信息" label:"包含商品的SKU名和相应的数量,格式为 SKU_名^数量。若存在超过一件商品,用竖线(|)分隔。备注:仅在businessType字段值为4时,本字段为必填。"` |
|
|
TotalQuantity string `json:"totalQuantity" name:"備註:僅在businessType欄位值為4時,本欄位為必填"` |
|
|
TotalQuantity string `json:"totalQuantity" name:"備註:僅在businessType欄位值為4時,本欄位為必填"` |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
type CreateQRTradeResponse struct { |
|
|
|
|
|
MacaoBOCPublicResponse |
|
|
|
|
|
LogNo string `json:"logNo"` |
|
|
|
|
|
Amount string `json:"amount"` |
|
|
|
|
|
Result string `json:"result"` |
|
|
|
|
|
PayURL string `json:"payUrl"` |
|
|
|
|
|
} |