biweeklybudget.models.scheduled_transaction module¶
-
class
biweeklybudget.models.scheduled_transaction.ScheduledTransaction(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base,biweeklybudget.models.base.ModelAsDict-
_sa_class_manager= {'account': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'account_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'amount': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'budget': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'budget_id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'date': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'day_of_month': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'description': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'id': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'is_active': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'notes': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'num_per_period': <sqlalchemy.orm.attributes.InstrumentedAttribute object>, 'transactions': <sqlalchemy.orm.attributes.InstrumentedAttribute object>}¶
-
account_id¶ ID of the account the transaction is against
-
amount¶ Amount of the transaction
-
budget_id¶ ID of the budget the transaction is against
-
date¶ Denotes a scheduled transaction that will happen once on the given date
-
day_of_month¶ Denotes a scheduled transaction that happens on the same day of each month
-
description¶ description
-
id¶ Primary Key
-
is_active¶ whether the scheduled transaction is enabled or disabled
-
notes¶ notes
-
num_per_period¶ Denotes a scheduled transaction that happens N times per pay period
-
recurrence_str¶ Return a string describing the recurrence interval. This is a string of the format
YYYY-mm-dd,N per periodorN(st|nd|rd|th)whereNis an integer.Returns: string describing recurrence interval Return type: str
-
schedule_type¶ Return a string describing the type of schedule; one of
date(a specific Date),per period(a number per pay period)`` ormonthly(a given day of the month).Returns: string describing type of schedule Return type: str
-
transactions¶
-