Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateTokenAssembly ¶
type CreateTokenAssembly struct {
CommandData struct {
structures.CommandData
structures.CommandDataFormID
structures.CommandDataTerminalMID
} `json:"command-data,omitempty"`
GeneralData structures.GeneralData `json:"general-data,omitempty"`
PaymentMethod structures.PaymentMethodData `json:"payment-method-data,omitempty"`
Money structures.MoneyData `json:"money-data"`
System structures.SystemData `json:"system"`
// contains filtered or unexported fields
}
CreateTokenAssembly is default structure for payment data tokenization operation
func NewCreateTokenAssembly ¶
func NewCreateTokenAssembly() *CreateTokenAssembly
NewCreateTokenAssembly returns new instance with prepared HTTP request data CreateTokenAssembly
func (*CreateTokenAssembly) GetHTTPMethod ¶
func (op *CreateTokenAssembly) GetHTTPMethod() string
GetHTTPMethod return HTTP method which will be used for send request
func (*CreateTokenAssembly) GetOperationType ¶
func (op *CreateTokenAssembly) GetOperationType() structures.OperationType
GetOperationType return part of route path which will be used for send request
func (*CreateTokenAssembly) ParseResponse ¶
func (op *CreateTokenAssembly) ParseResponse(response *structures.GatewayResponse) (result *structures.TransactionResponse, err error)
ParseResponse parses Gateway response into corresponding data structure
Click to show internal directories.
Click to hide internal directories.