model

package
v0.0.0-...-74dec24 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	ID             string `json:"id"`
	DocumentNumber int    `json:"documentNumber"`
}

type NewAccount

type NewAccount struct {
	DocumentNumber int `json:"documentNumber"`
}

type OperationsType

type OperationsType struct {
	ID          string `json:"id"`
	Description string `json:"description"`
}

type Transaction

type Transaction struct {
	ID               string          `json:"id"`
	AccountID        int             `json:"accountId"`
	OperationsTypeID int             `json:"operationsTypeId"`
	Amount           float64         `json:"amount"`
	EventDate        string          `json:"eventDate"`
	Account          *Account        `json:"account"`
	OperationsType   *OperationsType `json:"operationsType"`
}

Jump to

Keyboard shortcuts

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