GnuCash c935c2f+
Loading...
Searching...
No Matches
Public Member Functions
python.gnucash_business.GnuCashBusinessEntity Class Reference
Inheritance diagram for python.gnucash_business.GnuCashBusinessEntity:
python.gnucash_business.Customer python.gnucash_business.Employee python.gnucash_business.Job python.gnucash_business.Vendor

Public Member Functions

 __init__ (self, book=None, id=None, currency=None, name=None, instance=None)
 

Detailed Description

Definition at line 49 of file gnucash_business.py.

Constructor & Destructor Documentation

◆ __init__()

python.gnucash_business.GnuCashBusinessEntity.__init__ (   self,
  book = None,
  id = None,
  currency = None,
  name = None,
  instance = None 
)

Definition at line 50 of file gnucash_business.py.

51 instance=None):
52 if instance == None:
53 if book==None or id==None or currency==None:
54 raise Exception(
55 "you must call GnuCashBusinessEntity.__init__ "
56 "with either a book, id, and currency, or an existing "
57 "low level swig proxy in the argument instance")
58 GnuCashCoreClass.__init__(self, book)
59 self.BeginEdit()
60 self.SetID(id)
61 self.SetCurrency(currency)
62 if name != None:
63 self.SetName(name)
64 self.CommitEdit()
65 else:
66 GnuCashCoreClass.__init__(self, instance=instance)
67

The documentation for this class was generated from the following file: