parent
6e20c4256e
commit
11a5f2eb5b
1 changed files with 9 additions and 4 deletions
|
|
@ -62,10 +62,15 @@ class Bill(CapBaseObject):
|
||||||
"""
|
"""
|
||||||
Bill.
|
Bill.
|
||||||
"""
|
"""
|
||||||
date = DateField('date of the bill')
|
date = DateField('The day the bill has been sent to the subscriber')
|
||||||
format = StringField('format of the bill')
|
format = StringField('file format of the bill')
|
||||||
label = StringField('label of bill')
|
label = StringField('label of bill')
|
||||||
idparent = StringField('id of the parent subscription')
|
idparent = StringField('id of the parent subscription')
|
||||||
|
price = DecimalField('Price to pay')
|
||||||
|
currency = IntField('Currency', default=Currency.CUR_UNKNOWN)
|
||||||
|
deadline = DateField('The latest day to pay')
|
||||||
|
startdate = DateField('The first day the bill applies to')
|
||||||
|
finishdate = DateField('The last day the bill applies to')
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
CapBaseObject.__init__(self, 0)
|
CapBaseObject.__init__(self, 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue