token

package
v1.7.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL