Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { RegisterTransaction(request RegistrationParams) (RegistrationResponse, error) VerifyTransaction(params Notification) error }
type Notification ¶
type Notification struct { MerchantID uint `json:"merchantId"` PosID uint `json:"posId"` SessionID string `json:"sessionId"` Amount uint `json:"amount"` OriginAmount uint `json:"originAmount"` Currency string `json:"currency"` OrderID uint `json:"orderId"` MethodID uint `json:"methodId"` Statement string `json:"statement"` Sign string `json:"sign"` }
func UnmarshalNotification ¶
func UnmarshalNotification(body []byte) (Notification, error)
type RegistrationParams ¶
type RegistrationResponse ¶
Click to show internal directories.
Click to hide internal directories.