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

Method ToAccount

api/model/model.go:230–232  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

228}
229
230func (a *CreateAccount) ToAccount() model.Account {
231 return model.Account{BalanceID: a.BalanceId, LedgerID: a.LedgerId, IdentityID: a.IdentityId, Currency: a.Currency, Number: a.Number, BankName: a.BankName, MetaData: a.MetaData}
232}
233
234func (t *RecordTransaction) ToTransaction() *model.Transaction {
235 var scheduledFor time.Time

Callers 2

CreateAccountMethod · 0.95
TestToAccountFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestToAccountFunction · 0.76