Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayProvider ¶
type GatewayProvider interface { // New(*buyte.ProviderCheckoutConnection) (*buyte.Gateway, error) Not interfacing for now... Charge(*buyte.CreateChargeInput, *buyte.NetworkToken, *buyte.PaymentToken) (*buyte.GatewayCharge, error) ChargeNative(*buyte.CreateChargeInput, string, *buyte.PaymentToken) (*buyte.GatewayCharge, error) IsConnect() bool }
type Provider ¶
type Provider struct { IsTest bool `json:"isTest"` Details ProviderDetails `json:"provider"` Gateway GatewayProvider }
Each provider has their own underling gateway provider details.
type ProviderCharge ¶
type ProviderCharge map[string]interface{} // struct {}
type ProviderDetails ¶
type ProviderDetails struct {
Name string `json:"name"`
}
Click to show internal directories.
Click to hide internal directories.