@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
67 lines (59 loc) • 2.99 kB
Markdown
# BookingPopulated
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | ID de la réservation | [default to undefined]
**clubId** | **string** | | [default to undefined]
**creator** | [**UserInfo**](UserInfo.md) | | [default to undefined]
**slotInfos** | [**Array<SlotInfo>**](SlotInfo.md) | Informations des slots | [default to undefined]
**players** | [**Array<UserInfo>**](UserInfo.md) | | [default to undefined]
**initialPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs inclus à la création de la réservation (pour les créneaux ouverts) | [optional] [default to undefined]
**joinedPlayers** | [**Array<UserInfo>**](UserInfo.md) | Joueurs ayant rejoint après la création (pour les créneaux ouverts) | [optional] [default to undefined]
**paymentByPlayers** | [**Array<PaymentByPlayerInfo>**](PaymentByPlayerInfo.md) | Statut des paiements par joueur | [default to undefined]
**noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
**noShowChargeAmount** | **number** | | [optional] [default to undefined]
**totalPrice** | **number** | | [default to undefined]
**isCreatorPayingAll** | **boolean** | | [default to undefined]
**history** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [default to undefined]
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
**cancelledByManager** | **boolean** | | [optional] [default to undefined]
**cancelledBy** | **string** | | [optional] [default to undefined]
**cancellationReason** | **string** | | [optional] [default to undefined]
**isOpen** | **boolean** | | [default to undefined]
**description** | **string** | | [optional] [default to undefined]
**minLevel** | **string** | | [optional] [default to undefined]
**playersCount** | **number** | Nombre total réel de joueurs attendu (créateur inclus) | [default to undefined]
**guestPaymentsCount** | **number** | | [optional] [default to undefined]
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
**paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
## Example
```typescript
import { BookingPopulated } from '@tennac-booking/sdk';
const instance: BookingPopulated = {
id,
clubId,
creator,
slotInfos,
players,
initialPlayers,
joinedPlayers,
paymentByPlayers,
noShowChargeApplied,
noShowChargeAmount,
totalPrice,
isCreatorPayingAll,
history,
status,
cancelledByManager,
cancelledBy,
cancellationReason,
isOpen,
description,
minLevel,
playersCount,
guestPaymentsCount,
maxPlayersDesired,
paymentDistribution,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)