Hugh Jeremy edited this page Aug 17, 2018 · 2 revisions

Documentation > Side

Sides are Amatino's name for the fundamental double-entry bookeeping building blocks, the debit and credit. Sides primarily pop up when dealing with Transactions. Transactions are made up of multiple Entries, each of which must include a Side.

The Side object is an enumeration of two possible values: .debit and .credit. Each of these values is an Object containing a Number .value and String .name.

.debit

.value: 0
.name: "debit"

.credit

.value: 1
.name: "credit"

Usage

You will most often use Side when creating Entries as part of Transactions. See the Entries documentation for examples of the Side enumeration in action.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.