Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllTransactionTypesMap ¶
func GetAllTransactionTypesMap() map[string]TransactionType
Types ¶
type AllTransactionTypes ¶
type AllTransactionTypes struct { TransferDeposit TransactionType InterestDeposit TransactionType CashDeposit TransactionType PaymentReceived TransactionType CashWithdrawal TransactionType TransferWithdrawal TransactionType ChequeWithdrawal TransactionType ClearingCheque TransactionType ChequeMoneyTransfer TransactionType Commission TransactionType LetterCredit TransactionType WitholdingTaxPayable TransactionType OpenAccount TransactionType }
func GetAllTransactionTypes ¶
func GetAllTransactionTypes() AllTransactionTypes
type ServiceChannel ¶
type ServiceChannel string
type Transaction ¶
type Transaction struct { Date time.Time `json:"date"` Type TransactionType `json:"type"` AmountTHB float64 `json:"amountTHB"` OutstandingBalanceTHB float64 `json:"outstandingBalanceTHB"` Channel ServiceChannel `json:"channel"` Note string `json:"note"` ChequeNumber *string `json:"chequeNumber"` }
func Parse ¶
func Parse(records [][]string, hasCheckNumber bool) []Transaction
type TransactionType ¶
type TransactionType string
Click to show internal directories.
Click to hide internal directories.