scheduledpayment

package
v0.0.0-...-984c388 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ScheduledPayment

type ScheduledPayment struct {
	ID               string
	User             user.User                          // FK -> users
	FinancialAccount *financialaccount.FinancialAccount // FK -> financial_accounts, nullable
	Card             *card.Card                         // FK -> cards, nullable
	Contact          contact.Contact                    // FK -> contacts
	DisplayName      string                             // req
	Description      string
	Amount           float64
	CurrencyCode     string // uses ISO-4127 standard
	IntervalDays     uint16 // req
	customtype.Auditable
}

ScheduledPayment interaction where an external agent (Contact) periodically requests financial assets from a User's FinancialAccount or Card.

Assets could come from either FinancialAccount directly or from a Card; both instruments are mutually exclusive.

Jump to

Keyboard shortcuts

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