reporting

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 ReportAssembly

type ReportAssembly struct {
	DateCreatedFrom  structures.Time `json:"dt-created-from,omitempty"`
	DateCreatedTo    structures.Time `json:"dt-created-to,omitempty"`
	DateFinishedFrom structures.Time `json:"dt-finished-from,omitempty"`
	DateFinishedTo   structures.Time `json:"dt-finished-to,omitempty"`
	// contains filtered or unexported fields
}

ReportAssembly is default structure for transactions CSV report loading

func NewReportAssembly

func NewReportAssembly() *ReportAssembly

NewReportAssembly returns new instance with prepared HTTP request data ReportAssembly

func (*ReportAssembly) GetHTTPMethod

func (op *ReportAssembly) GetHTTPMethod() string

GetHTTPMethod return HTTP method which will be used for send request

func (*ReportAssembly) GetOperationType

func (op *ReportAssembly) GetOperationType() structures.OperationType

GetOperationType return part of route path which will be used for send request

func (*ReportAssembly) ParseResponse

func (op *ReportAssembly) ParseResponse(response *structures.GatewayResponse) (result *structures.CsvReport, 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