Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FinancialTransaction ¶
type FinancialTransaction struct { ID string User user.User // req, FK -> users FinancialAccount *financialaccount.FinancialAccount // FK -> financial_accounts, nullable Card *card.Card // FK -> cards, nullable Contact contact.Contact // FK -> contacts FromScheduledPayment *scheduledpayment.ScheduledPayment // FK -> scheduled_payments, nullable DisplayName string // req Description string Amount float64 CurrencyCode string // uses ISO-4127 standard OccurredAt time.Time //req customtype.Auditable }
FinancialTransaction record generated by the financial interaction between a User and a Contact.
Assets could come from either FinancialAccount directly or from a Card; both instruments are mutually exclusive.
Transactions could also be generated by ScheduledPayment(s).
Click to show internal directories.
Click to hide internal directories.