Files
sdk/docs/BooksTrialBalance.md

5.6 KiB

BooksTrialBalance

Properties

Name Type Description Notes
Balanced Pointer to bool Balanced is the proof this report exists to give: whether total debits equal total credits. It is computed from the rows above, never assumed, and false means the ledger itself is broken rather than that the report is wrong. [optional]
From Pointer to string From is the posting time the window opens at, as it was asked for. Absent means the report runs from the beginning of the ledger. [optional]
Rows Pointer to []BooksTrialBalanceRow Rows are the accounts that MOVED in one of the windows. An account that never moved is omitted rather than listed at zero, so this is shorter than the chart. [optional]
To Pointer to string To is the posting time the window closes at, inclusive. Absent means "up to now" — every posting the ledger holds. [optional]
TotalCredit Pointer to int64 TotalCredit is the sum of every row's closing credit column, in cents. [optional]
TotalDebit Pointer to int64 TotalDebit is the sum of every row's CLOSING debit column, in cents. [optional]

Methods

NewBooksTrialBalance

func NewBooksTrialBalance() *BooksTrialBalance

NewBooksTrialBalance instantiates a new BooksTrialBalance 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

NewBooksTrialBalanceWithDefaults

func NewBooksTrialBalanceWithDefaults() *BooksTrialBalance

NewBooksTrialBalanceWithDefaults instantiates a new BooksTrialBalance 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

GetBalanced

func (o *BooksTrialBalance) GetBalanced() bool

GetBalanced returns the Balanced field if non-nil, zero value otherwise.

GetBalancedOk

func (o *BooksTrialBalance) GetBalancedOk() (*bool, bool)

GetBalancedOk returns a tuple with the Balanced field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetBalanced

func (o *BooksTrialBalance) SetBalanced(v bool)

SetBalanced sets Balanced field to given value.

HasBalanced

func (o *BooksTrialBalance) HasBalanced() bool

HasBalanced returns a boolean if a field has been set.

GetFrom

func (o *BooksTrialBalance) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

func (o *BooksTrialBalance) GetFromOk() (*string, bool)

GetFromOk returns a tuple with the From field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetFrom

func (o *BooksTrialBalance) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *BooksTrialBalance) HasFrom() bool

HasFrom returns a boolean if a field has been set.

GetRows

func (o *BooksTrialBalance) GetRows() []BooksTrialBalanceRow

GetRows returns the Rows field if non-nil, zero value otherwise.

GetRowsOk

func (o *BooksTrialBalance) GetRowsOk() (*[]BooksTrialBalanceRow, bool)

GetRowsOk returns a tuple with the Rows field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRows

func (o *BooksTrialBalance) SetRows(v []BooksTrialBalanceRow)

SetRows sets Rows field to given value.

HasRows

func (o *BooksTrialBalance) HasRows() bool

HasRows returns a boolean if a field has been set.

GetTo

func (o *BooksTrialBalance) GetTo() string

GetTo returns the To field if non-nil, zero value otherwise.

GetToOk

func (o *BooksTrialBalance) GetToOk() (*string, bool)

GetToOk returns a tuple with the To field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTo

func (o *BooksTrialBalance) SetTo(v string)

SetTo sets To field to given value.

HasTo

func (o *BooksTrialBalance) HasTo() bool

HasTo returns a boolean if a field has been set.

GetTotalCredit

func (o *BooksTrialBalance) GetTotalCredit() int64

GetTotalCredit returns the TotalCredit field if non-nil, zero value otherwise.

GetTotalCreditOk

func (o *BooksTrialBalance) GetTotalCreditOk() (*int64, bool)

GetTotalCreditOk returns a tuple with the TotalCredit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTotalCredit

func (o *BooksTrialBalance) SetTotalCredit(v int64)

SetTotalCredit sets TotalCredit field to given value.

HasTotalCredit

func (o *BooksTrialBalance) HasTotalCredit() bool

HasTotalCredit returns a boolean if a field has been set.

GetTotalDebit

func (o *BooksTrialBalance) GetTotalDebit() int64

GetTotalDebit returns the TotalDebit field if non-nil, zero value otherwise.

GetTotalDebitOk

func (o *BooksTrialBalance) GetTotalDebitOk() (*int64, bool)

GetTotalDebitOk returns a tuple with the TotalDebit field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetTotalDebit

func (o *BooksTrialBalance) SetTotalDebit(v int64)

SetTotalDebit sets TotalDebit field to given value.

HasTotalDebit

func (o *BooksTrialBalance) HasTotalDebit() bool

HasTotalDebit returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]