bugfix
This commit is contained in:
parent
eb01315309
commit
03fdd22b8c
@ -12,6 +12,22 @@ from .accountingnode import get_accounting_nodes
|
|||||||
from .excep import *
|
from .excep import *
|
||||||
from .getaccount import getAccountByName
|
from .getaccount import getAccountByName
|
||||||
|
|
||||||
|
class SaleInfo:
|
||||||
|
def __init__(self, customerid, resellerid, amount):
|
||||||
|
self.customerid = customerid
|
||||||
|
self.resellerid = resellerid
|
||||||
|
self.amount = amount
|
||||||
|
self.base_action = 'PAY'
|
||||||
|
|
||||||
|
class CostInfo:
|
||||||
|
def __init__(self, providerid, resellerid, amount):
|
||||||
|
self.providerid = providerid
|
||||||
|
self.resellerid = resellerid
|
||||||
|
self.amount = amount
|
||||||
|
|
||||||
|
class CostBiz(PFBiz):
|
||||||
|
def __init__(self, providerid, resellerid, amount):
|
||||||
|
self.provider =
|
||||||
class ConsumeBiz(PFBiz):
|
class ConsumeBiz(PFBiz):
|
||||||
def __init__(self, od):
|
def __init__(self, od):
|
||||||
self.db = DBPools()
|
self.db = DBPools()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user