sagas/coupons
- Source:
Methods
(async, generator, static) getPlacedCouponsSaga(action)
- Description:
Get coupons list
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getPlacedCouponsShopSaga(action)
- Description:
Get coupons list SHOP
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getSettledCouponsSaga(action)
- Description:
Get settled coupon list
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, generator, static) getSettledCouponsShopSaga(action)
- Description:
Get settled coupon list SHOP
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
action |
object | Filtering data |
(async, static) module.exports() → {void}
- Source:
Returns:
- Type
- void
Type Definitions
"getCoupons/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
coupons |
Array.<Coupon> | |
totalPage |
number |
Type:
- object
"getCoupons/response.data"
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
coupons |
Array.<Coupon> | |
totalPage |
number |
Type:
- object
Coupon
- Source:
Properties:
| Name | Type | Description |
|---|---|---|
id |
number | |
clientId |
number | |
agentId |
number | |
placedDate |
string | |
roundId |
number | |
stake |
number | |
bonus |
boolean | |
status |
number | |
wonAmount |
number | |
settlementDate |
string | |
paid |
number | |
paidDate |
string | |
betDetails |
string |
Type:
- object