#include <customer.h>
Public Methods | |
Customer (Pointer< User > u, const string &id, const string &custName="") | |
Customer (const Customer &cu) | |
~Customer () | |
Pointer< User > | user () const |
const string & | custId () const |
const string & | custName () const |
void | setCustName (const string &n) |
HBCI knows two kinds of id:
Example: You are running a business and want to manage your accounts by means of HBCI. You have one business account and one private account. In this case your bank may present you this situation:
|
Creates a new customer.
|
|
Copy constructor. |
|
Default destructor. |
|
Returns the customer id assigned to this Customer by the Bank. The customer ID that identifies this customer to his bank. Usually this string is assigned to the customer by the bank. |
|
Returns the name of this customer. Returns the name of the customer, i.e. the role this customer plays. You can choose this name as you like, e.g. "secretary", "private" or whatever you prefer. This member makes it easier for you to distinguish this customers from others, since the raw customer id is quite cryptic in most cases. |
|
Sets the name of this customer. Sets the name of this customer, i.e. the role this customer plays. You can set this to any arbitrary string you consider helpful.
|
|
Returns a pointer to the User this customer belongs to.
|