The CSaleUserAccount class helps manage internal user accounts.
Methods
Method |
Description |
Delete |
The method deletes the internal user account. |
Pay |
The method withdraws the specified amount from the internal user
account. |
Withdraw |
The method withdraws the specified amount from the internal user
account. |
UpdateAccount |
The method modifies the amount of the account of a
specified user. |
GetByID |
The method returns an associated array containing parameters of the
specified account. |
GetByUserID |
The method returns an associated array containing parameters of
an account in the specified currency for the specified user. |
GetList |
The method returns a selection of accounts according to the
specified criteria. |
Add |
The method adds a new user account with the specified parameters. |
Update |
The method replaces parameters of a user account with those from the
specified array. |