MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / RecordTransaction

Struct RecordTransaction

api/model/transaction.go:25–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23)
24
25type RecordTransaction struct {
26 Amount float64 `json:"amount"`
27 Rate float64 `json:"rate"`
28 Precision float64 `json:"precision"`
29 OverdraftLimit float64 `json:"overdraft_limit"`
30 PreciseAmount *big.Int `json:"precise_amount"`
31 AllowOverDraft bool `json:"allow_overdraft"`
32 Inflight bool `json:"inflight"`
33 SkipQueue bool `json:"skip_queue"`
34 Atomic bool `json:"atomic"`
35 Source string `json:"source"`
36 Reference string `json:"reference"`
37 Destination string `json:"destination"`
38 Description string `json:"description"`
39 Currency string `json:"currency"`
40 BalanceId string `json:"balance_id"`
41 ScheduledFor string `json:"scheduled_for"`
42 InflightExpiryDate string `json:"inflight_expiry_date,omitempty"`
43 InflightCommitDate string `json:"inflight_commit_date,omitempty"`
44 Sources []model.Distribution `json:"sources"`
45 Destinations []model.Distribution `json:"destinations"`
46 MetaData map[string]interface{} `json:"meta_data"`
47 EffectiveDate *time.Time `json:"effective_date,omitempty"`
48}
49
50type InflightUpdate struct {
51 Status string `json:"status"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected