Documentation ¶
Index ¶
Constants ¶
View Source
const ( MD5 = "MD5" RSA = "RSA" )
sign methods
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ali ¶
type Ali struct {
// contains filtered or unexported fields
}
Ali ...
func (*Ali) VerifyNotifyID ¶
VerifyNotifyID ...
type NotifyReq ¶
type NotifyReq struct { NotifyTime string `structs:"notify_time" form:"notify_time" json:"notify_time"` NotifyType string `structs:"notify_type" form:"notify_type" json:"notify_type"` NotifyID string `structs:"notify_id" form:"notify_id" json:"notify_id"` SignType string `structs:"sign_type" form:"sign_type" json:"sign_type"` Sign string `structs:"sign" form:"sign" json:"sign"` OutTradeNo string `structs:"out_trade_no" form:"out_trade_no" json:"out_trade_no"` Subject string `structs:"subject" form:"subject" json:"subject"` PaymentType string `structs:"payment_type" form:"payment_type" json:"payment_type"` TradeNo string `structs:"trade_no" form:"trade_no" json:"trade_no"` TradeStatus string `structs:"trade_status" form:"trade_status" json:"trade_status"` GmtCreate string `structs:"gmt_create" form:"gmt_create" json:"gmt_create"` GmtPayment string `structs:"gmt_payment" form:"gmt_payment" json:"gmt_payment"` GmtClose string `structs:"gmt_close" form:"gmt_close" json:"gmt_close"` RefundStatus string `structs:"refund_status" form:"refund_status" json:"refund_status"` GmtRefund string `structs:"gmt_refund" form:"gmt_refund" json:"gmt_refund"` SellerEmail string `structs:"seller_email" form:"seller_email" json:"seller_email"` BuyerEmail string `structs:"buyer_email" form:"buyer_email" json:"buyer_email"` SellerID string `structs:"seller_id" form:"seller_id" json:"seller_id"` BuyerID string `structs:"buyer_id" form:"buyer_id" json:"buyer_id"` Price string `structs:"price" form:"price" json:"price"` TotalFee string `structs:"total_fee" form:"total_fee" json:"total_fee"` Quantity string `structs:"quantity" form:"quantity" json:"quantity"` Body string `structs:"body" form:"body" json:"body"` Discount string `structs:"discount" form:"discount" json:"discount"` IsTotalFeeAdjust string `structs:"is_total_fee_adjust" form:"is_total_fee_adjust" json:"is_total_fee_adjust"` UseCoupon string `structs:"use_coupon" form:"use_coupon" json:"use_coupon"` ExtraCommonParam string `structs:"extra_common_param" form:"extra_common_param" json:"extra_common_param"` BusinessScene string `structs:"business_scene" form:"business_scene" json:"business_scene"` }
NotifyReq ...
type OrderReq ¶
type OrderReq struct { Req OutTradeNo string `structs:"out_trade_no" json:"outTradeNo"` Subject string `structs:"subject" json:"subject"` PaymentType string `structs:"payment_type" json:"paymentType"` TotalFee string `structs:"total_fee" json:"totalFee"` SellerID string `structs:"seller_id" json:"sellerId"` SellerEmail string `structs:"seller_email" json:"sellerEmail"` SellerAccountName string `structs:"seller_account_name" json:"sellerAccountName"` ItBPay string `structs:"it_b_pay" json:"itBPay"` Body string `structs:"body" json:"body"` }
OrderReq ...
type Req ¶
type Req struct { Service string `structs:"service" json:"service"` Partner string `structs:"partner" json:"partner"` InputCharset string `structs:"_input_charset" json:"inputCharset"` SignType string `structs:"sign_type" json:"signType"` Sign string `structs:"sign" json:"sign"` NotifyURL string `structs:"notify_url" json:"notifyUrl"` ReturnURL string `structs:"return_url" json:"returnUrl"` }
Req ...
Click to show internal directories.
Click to hide internal directories.