Methods
#
(static) getBetLimits() → {Promise.<{limits: Object}>}
Return information about current bet limits. See
ims docs
Returns:
-
Type
-
Promise.<{limits: Object}>
Example
Playtech.API.responsibleGaming.getBetLimits().then((data) => { ... }));
#
(static) getDepositLimits() → {Promise.<{currentLimits: Object, waitingLimits: Object, allowedLimits: Array.<string>}>}
Return information about current deposit limits. See
ims docs
Returns:
-
Type
-
Promise.<{currentLimits: Object, waitingLimits: Object, allowedLimits: Array.<string>}>
Example
Playtech.API.responsibleGaming.getDepositLimits().then((data) => { ... }));
#
(static) getForcedLossLimits() → {Promise.<{limits: Object}>}
Return information about current forced loss limits. See
ims docs
Returns:
-
Type
-
Promise.<{limits: Object}>
Example
Playtech.API.responsibleGaming.getForcedLossLimits().then((data) => { ... }));
#
(static) getGameHistory(options) → {Promise.<{Object}>}
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Description |
startDatetime |
string
|
|
endDatetime |
string
|
|
max |
string
|
|
fields |
Array.<string>
|
|
consolidateBonusRounds |
string
|
|
playerUsername |
string
|
|
page |
number
|
|
product |
string
|
|
gamesSource |
string
|
|
filterOutParameters |
Array.<string>
|
|
|
Returns:
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.getGameHistory().then((data) => { ... }));
#
(static) getLossLimits() → {Promise.<{limits: Object}>}
Return information about current loss limits. See
ims docs
Returns:
-
Type
-
Promise.<{limits: Object}>
Example
Playtech.API.responsibleGaming.getLossLimits().then((data) => { ... }));
#
(static) getPlayerLimitsInfo() → {Promise.<{Object}>}
Return information about all current limits. See
ims docs
Returns:
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.getPlayerLimitsInfo().then((data) => { ... }));
#
(static) getPlayerSelfExclusion() → {Promise.<{Object}>}
Return information about current self-exclusion. See
ims docs
Returns:
{allowed: boolean, disableDeposits: boolean, crossProduct: boolean, products: string[], periods: string[], endTypes: string[], panicButtonInterval: number, minEndDate: string, productSettings: object[]}
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.getPlayerSelfExclusion().then((data) => { ... }));
#
(static) setBetLimits(options) → {Promise.<{Object}>}
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Description |
action |
string
|
|
limits |
Array.<Object>
|
Properties
Name |
Type |
Attributes |
Description |
timePeriod |
string
|
<optional>
|
Values: 'daily', 'weekly', 'monthly' |
amount |
string
|
<optional>
|
|
|
|
Returns:
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.setLossLimits().then((data) => { ... }));
#
(static) setDepositLimits(options) → {Promise.<{Object}>}
Set player's deposit limits. See
ims docs
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Attributes |
Description |
amount |
number
|
<optional>
|
|
timePeriod |
string
|
<optional>
|
Values: 'daily', 'weekly', 'monthly' |
limits |
Array.<Object>
|
<optional>
|
Properties
Name |
Type |
Attributes |
Description |
timePeriod |
string
|
<optional>
|
Values: 'daily', 'weekly', 'monthly' |
amount |
string
|
<optional>
|
|
|
|
Returns:
-
Type
-
Promise.<{Object}>
Examples
Playtech.API.responsibleGaming.setDepositLimits({ limits: [ { 'timePeriod': 'daily', 'amount' : '101.00' } ]}).then((data) => { ... }));
Playtech.API.responsibleGaming.setDepositLimits({ amount: '100', timePeriod: 'daily' }).then((data) => { ... }));
#
(static) setLossLimits(options) → {Promise.<{Object}>}
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Description |
action |
string
|
|
limits |
Array.<Object>
|
Properties
Name |
Type |
Attributes |
Description |
timePeriod |
string
|
<optional>
|
Values: 'daily', 'weekly', 'monthly' |
amount |
string
|
<optional>
|
|
|
|
Returns:
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.setLossLimits().then((data) => { ... }));
#
(static) setPlayerSelfExclusion(options) → {Promise.<{Object}>}
Set player's self exclusion. See
ims docs
Parameters:
Name |
Type |
Description |
options |
Object
|
Properties
Name |
Type |
Attributes |
Description |
period |
string
|
<optional>
|
|
endDate |
string
|
<optional>
|
|
product |
string
|
<optional>
|
|
endType |
string
|
<optional>
|
|
endSelfExclusion |
string
|
<optional>
|
|
startDate |
string
|
<optional>
|
|
emailNotification |
number
|
<optional>
|
|
networkClass |
number
|
<optional>
|
|
|
Returns:
-
Type
-
Promise.<{Object}>
Example
Playtech.API.responsibleGaming.setPlayerSelfExclusion({ emailNotification : 3, period : 'openended', product : 'all', endDate: '2018-04-25T17:48:00', endType: 'manual'}).then((data) => { ... }));