4.1 KiB
BooksBalanceLine
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Account | Pointer to string | Account is the chart-of-accounts number this line reports on. ABSENT marks a DERIVED line that no account holds — retained earnings is the one such line, computed from cumulative income minus expense. | [optional] |
| Amount | Pointer to int64 | Amount is the balance as of the statement date, in whole cents, in its NATURAL sign: positive when the account behaved normally, on all three sides. Assets are debit-normal and shown as stored; liabilities and equity are credit-normal and flipped once here for display. A negative asset is a real overdraft, not a sign convention. | [optional] |
| Name | Pointer to string | Name is the account's human name, or the derived line's own name. | [optional] |
| Type | Pointer to string | Type is the account's fundamental class. Absent on a derived line, which belongs to no account and therefore has none. | [optional] |
Methods
NewBooksBalanceLine
func NewBooksBalanceLine() *BooksBalanceLine
NewBooksBalanceLine instantiates a new BooksBalanceLine object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
NewBooksBalanceLineWithDefaults
func NewBooksBalanceLineWithDefaults() *BooksBalanceLine
NewBooksBalanceLineWithDefaults instantiates a new BooksBalanceLine object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
GetAccount
func (o *BooksBalanceLine) GetAccount() string
GetAccount returns the Account field if non-nil, zero value otherwise.
GetAccountOk
func (o *BooksBalanceLine) GetAccountOk() (*string, bool)
GetAccountOk returns a tuple with the Account field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAccount
func (o *BooksBalanceLine) SetAccount(v string)
SetAccount sets Account field to given value.
HasAccount
func (o *BooksBalanceLine) HasAccount() bool
HasAccount returns a boolean if a field has been set.
GetAmount
func (o *BooksBalanceLine) GetAmount() int64
GetAmount returns the Amount field if non-nil, zero value otherwise.
GetAmountOk
func (o *BooksBalanceLine) GetAmountOk() (*int64, bool)
GetAmountOk returns a tuple with the Amount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetAmount
func (o *BooksBalanceLine) SetAmount(v int64)
SetAmount sets Amount field to given value.
HasAmount
func (o *BooksBalanceLine) HasAmount() bool
HasAmount returns a boolean if a field has been set.
GetName
func (o *BooksBalanceLine) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
GetNameOk
func (o *BooksBalanceLine) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetName
func (o *BooksBalanceLine) SetName(v string)
SetName sets Name field to given value.
HasName
func (o *BooksBalanceLine) HasName() bool
HasName returns a boolean if a field has been set.
GetType
func (o *BooksBalanceLine) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
GetTypeOk
func (o *BooksBalanceLine) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetType
func (o *BooksBalanceLine) SetType(v string)
SetType sets Type field to given value.
HasType
func (o *BooksBalanceLine) HasType() bool
HasType returns a boolean if a field has been set.