types

package
v0.0.0-...-b080cc2 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TJS       Currency = "TJS"
	RUB       Currency = "RUB"
	USD       Currency = "USD"
	TYPE_CARD string   = "card"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Card

type Card struct {
	ID         int
	PAN        PAN
	Currency   Currency
	Color      string
	Balance    Money
	Name       string
	Active     bool
	MinBalance Money
}

type Category

type Category string

type Currency

type Currency string

type Money

type Money int

type PAN

type PAN string

type Payment

type Payment struct {
	ID       int
	Amount   Money
	Category Category
}

type PaymentSource

type PaymentSource struct {
	Type    string
	Number  PAN
	Balance Money
}

Jump to

Keyboard shortcuts

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