Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Authentication ¶
type CheckPayRequest ¶
type CheckPayRequest struct { Authentication Authentication `json:"authentication"` BodyInfo string `json:"bodyInfo"` // bodyInfo 数据体是加密的字符串,原始报文是个 json 格式字符串 }
校验支付请求
type CheckPayRequestBodyInfo ¶
type CheckPayRequestBodyInfo struct { RequestBodyInfo PartnerOrderId string `json:"partnerOrderId"` //订单号 }
校验支付请求BodyInfo
type CheckPayResponse ¶
type CheckPayResponse struct { Response BodyInfo string `json:"bodyInfo"` // bodyInfo 数据体是加密的字符串,原始报文是个 json 格式字符串 }
校验支付响应
type CheckPayResponseBodyInfo ¶
type CheckPayResponseBodyInfo struct { PartnerOrderId string `json:"partnerOrderId"` //订单号 DeductResult int `json:"deductResult"` //1 支付成功,0 未支付 }
校验支付响应BodyInfo
type LaterOrderRequest ¶
type LaterOrderRequest struct { Authentication Authentication `json:"authentication"` BodyInfo string `json:"bodyInfo"` // bodyInfo 数据体是加密的字符串,原始报文是个 json 格式字符串 }
延时订单请求
type LaterOrderRequestBodyInfo ¶
type LaterOrderRequestBodyInfo struct { RequestBodyInfo PartnerOrderId string `json:"partnerOrderId"` //订单号 }
延时订单请求BodyInfo
type RequestBodyInfo ¶
type RequestBodyInfo struct {
AgentCode string `json:"agentCode"` //代售点编码
}
Click to show internal directories.
Click to hide internal directories.