aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/api_fsb/docs/ContestWinner.md
blob: 22a4aa5484e7172734789da03bfdb9d7ad58f0b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# ContestWinner

In a Raffle, the ContestEntryType can be COUNT or CASH. In the CASH type, the unit of entry is 1 USDCent (one penny). Implicitly, each penny entered buys 1 entry into the raffle, and one entry is randomly selected for each prize.  A contest should have as many winners as there are prizes special case 1: there are fewer entries than prizes special case 2: leaderboard contest with ties

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**uuid** | **string** |  | [optional] [default to undefined]
**created_at** | **string** | When this user won this prize | [optional] [default to undefined]
**prize** | [**ContestPrize**](ContestPrize.md) |  | [default to undefined]
**awarded_cash_amount** | **number** |  | [optional] [default to undefined]
**product_user_id** | **string** |  | [default to undefined]

## Example

```typescript
import { ContestWinner } from './api';

const instance: ContestWinner = {
    uuid,
    created_at,
    prize,
    awarded_cash_amount,
    product_user_id,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)