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
Click to show internal directories.
Click to hide internal directories.