Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
Component string `json:"component"`
Stage Stage `json:"stage"`
Operation string `json:"operation"`
Provider payment.Provider `json:"provider,omitempty"`
Channel payment.Channel `json:"channel,omitempty"`
MerchantKey string `json:"merchant_key,omitempty"`
PaymentID string `json:"payment_id,omitempty"`
OrderID string `json:"order_id,omitempty"`
OutTradeNo string `json:"out_trade_no,omitempty"`
ProviderTradeID string `json:"provider_trade_id,omitempty"`
RefundID string `json:"refund_id,omitempty"`
OutRefundNo string `json:"out_refund_no,omitempty"`
ProviderRefundID string `json:"provider_refund_id,omitempty"`
Request any `json:"request,omitempty"`
Response any `json:"response,omitempty"`
Err error `json:"-"`
}
type PayloadMode ¶
type PayloadMode string
const ( PayloadNone PayloadMode = "" PayloadFull PayloadMode = "full" )
Click to show internal directories.
Click to hide internal directories.