Add a new command for ICapBill
Useful for pre-paid subscription
This commit is contained in:
parent
f33af8ff50
commit
f6c212ca72
1 changed files with 11 additions and 1 deletions
|
|
@ -143,8 +143,18 @@ class ICapBill(ICapCollection):
|
|||
"""
|
||||
Get details of a subscription.
|
||||
|
||||
:param subscription: subscription to get bills
|
||||
:param subscription: subscription to get details
|
||||
:type subscription: :class:`Subscription`
|
||||
:rtype: iter[:class:`Detail`]
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
||||
def get_balance(self, subscription):
|
||||
"""
|
||||
Get the balance of a subscription.
|
||||
|
||||
:param subscription: subscription to get balance
|
||||
:type subscription: :class:`Subscription`
|
||||
:rtype :class:`Decimal`
|
||||
"""
|
||||
raise NotImplementedError()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue