boolean checkMyFunds(
[string
$email = null], [string
$key = null], double
$amount, string
$currency, int
4
)
|
|
Check my account balance
Parameters:
|
int |
4: |
Member ID |
|
string |
$email: |
SOAP-API auth email |
|
string |
$key: |
SOAP-API auth session code |
|
double |
$amount: |
Amount of funds to check |
|
string |
$currency: |
Currency of input funds |
API Tags:
| Return: | True if has sufficent funds |
| Access: | public |
Redefined in descendants as:
int getCurrentTime(
string
$email, string
$key
)
|
|
Returns current time as a Unix timestamp.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
| Return: | Current timestamp |
| Access: | public |
Redefined in descendants as:
float getMyBalance(
string
$email, string
$key
)
|
|
Returns current balance on the account.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
| Return: | Account balance |
| Access: | public |
Redefined in descendants as:
string getMyCurrency(
string
$email, string
$key
)
|
|
Returns the account currency.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
| Return: | Account currency |
| Access: | public |
Redefined in descendants as:
string getMyUserId(
string
$email, string
$key
)
|
|
Returns the identifier of the logged-in user.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
| Return: | User identifier |
| Access: | public |
Redefined in descendants as:
boolean keepAlive(
string
$email, string
$key
)
|
|
Null function - does nothing.
This function can be used as a "keep alive" mechanism to prevent the authentication session from expiring.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
Redefined in descendants as:
string login(
string
$email, string
$password, [string
$lang = "pl"]
)
|
|
Creates a new session for specified user, returns session authorization code.
This function is used to open an authenticated API session. Upon succesful execution, an API authorization code is returned, which must be used in all subsequent API calls.
Parameters:
|
string |
$email: |
User email |
|
string |
$password: |
User password |
|
string |
$lang: |
Session language |
API Tags:
| Return: | Authorization code |
| Access: | public |
Information Tags:
| Throws: | Exceptions: 10002, 10004, 10006 (see ErrorCodesDM.pkg) |
Redefined in descendants as:
boolean logout(
string
$email, string
$key
)
|
|
Closes user session
This function terminates the authentication session created by the login() function.
Parameters:
|
string |
$email: |
User email |
|
string |
$key: |
User authorization code |
API Tags:
Redefined in descendants as: