Bumping version for release.
[PyCIM.git] / CIM14 / IEC61968 / PaymentMetering / BankAccountDetail.py
blob5bcba26c43a1c9244b54316ed1652ff580bff889
1 # Copyright (C) 2010 Richard Lincoln
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # Lesser General Public License for more details.
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA, USA
17 from CIM14.Element import Element
19 class BankAccountDetail(Element):
20 """Details of a bank account.
21 """
23 def __init__(self, holderName='', accountNumber='', bankName='', branchCode='', holderID='', *args, **kw_args):
24 """Initialises a new 'BankAccountDetail' instance.
26 @param holderName: Name of account holder.
27 @param accountNumber: Operational account reference number.
28 @param bankName: Name of bank where account is held.
29 @param branchCode: Branch of bank where account is held.
30 @param holderID: National identity number (or equivalent) of account holder.
31 """
32 #: Name of account holder.
33 self.holderName = holderName
35 #: Operational account reference number.
36 self.accountNumber = accountNumber
38 #: Name of bank where account is held.
39 self.bankName = bankName
41 #: Branch of bank where account is held.
42 self.branchCode = branchCode
44 #: National identity number (or equivalent) of account holder.
45 self.holderID = holderID
47 super(BankAccountDetail, self).__init__(*args, **kw_args)
49 _attrs = ["holderName", "accountNumber", "bankName", "branchCode", "holderID"]
50 _attr_types = {"holderName": str, "accountNumber": str, "bankName": str, "branchCode": str, "holderID": str}
51 _defaults = {"holderName": '', "accountNumber": '', "bankName": '', "branchCode": '', "holderID": ''}
52 _enums = {}
53 _refs = []
54 _many_refs = []