dto

package
v0.0.0-...-d2da372 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 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 StatementBalanceOutput

type StatementBalanceOutput struct {
	Total         int    `json:"total"`
	StatementDate string `json:"data_extrato"`
	Limit         int    `json:"limite"`
}

type StatementOutput

type StatementOutput struct {
	Balance      StatementBalanceOutput       `json:"saldo"`
	Transactions []StatementTransactionOutput `json:"ultimas_transacoes"`
}

type StatementTransactionOutput

type StatementTransactionOutput struct {
	Value       int    `json:"valor"`
	Type        string `json:"tipo"`
	Description string `json:"descricao"`
	Timestamp   string `json:"realizada_em"`
}

type TransactionInput

type TransactionInput struct {
	Value       int    `json:"valor"`
	Type        string `json:"tipo"`
	Description string `json:"descricao"`
}

type TransactionOutput

type TransactionOutput struct {
	Limit   int `json:"limite"`
	Balance int `json:"saldo"`
}

Jump to

Keyboard shortcuts

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