Example #1
0
class Transaction(Entity):
    accepted = EntityField(True)
    amount = AmountField()
    cash_amount = AmountField()
    check_number = EntityField(None)
    cleared = EntityField('Uncleared')
    credit_amount = AmountField()
    date = DateField(None)
    date_entered_from_schedule = DateField(None)
    entities_account_id = EntityField(None)
    entities_payee_id = EntityField(None)
    entities_scheduled_transaction_id = EntityField(None)
    entities_subcategory_id = EntityField(None)
    flag = EntityField("")
    imported_date = DateField(None)
    imported_payee = EntityField(None)
    is_tombstone = EntityField(False)
    matched_transaction_id = EntityField(None)
    memo = EntityField(None)
    source = EntityField(None)
    subcategory_credit_amount_preceding = EntityField(None)
    transfer_account_id = EntityField(None)
    transfer_subtransaction_id = EntityField(None)
    transfer_transaction_id = EntityField(None)
    ynab_id = EntityField(None)
Example #2
0
class Account(Entity):
    account_name = EntityField(None)
    account_type = AccountTypeField(AccountTypes.undef)
    direct_connect_account_id = EntityField(undef)
    direct_connect_enabled = EntityField(False)
    direct_connect_institution_id = EntityField(undef)
    hidden = EntityField(False)
    is_tombstone = EntityField(False)
    last_entered_check_number = EntityField(None)
    last_imported_at = EntityField(undef)
    last_imported_error_code = EntityField(undef)
    last_reconciled_balance = EntityField(None)
    last_reconciled_date = DateField(None)
    direct_connect_last_error_code = EntityField(None)
    direct_connect_last_imported_at = DateField(None)
    note = EntityField(None)
    sortable_index = EntityField(0)
    on_budget = PropertyField(on_budget_default)
Example #3
0
class AccountMapping(Entity):
    date_sequence = DateField(None)
    entities_account_id = EntityField(None)
    hash = EntityField(None)
    fid = EntityField(None)
    is_tombstone = EntityField(False)
    salt = EntityField(None)
    shortened_account_id = EntityField(None)
    should_flip_payees_memos = EntityField(None)
    should_import_memos = EntityField(None)
    skip_import = EntityField(None)
Example #4
0
class ScheduledTransaction(Entity):
    amount = AmountField()
    date = DateField(None)
    entities_account_id = EntityField(None)
    entities_payee_id = EntityField(None)
    entities_subcategory_id = EntityField(None)
    flag = EntityField(None)
    frequency = EntityField(None)
    is_tombstone = EntityField(False)
    memo = EntityField(None)
    transfer_account_id = EntityField(None)
    upcoming_instances = DatesField([])