@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
51 lines (43 loc) • 2.08 kB
Markdown
# BookingInfo
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | ID de la réservation | [default to undefined]
**clubId** | **string** | ID du club | [default to undefined]
**userId** | **string** | ID de l\'utilisateur créateur | [default to undefined]
**playersIds** | **Array<string>** | Liste des IDs des joueurs | [default to undefined]
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
**totalPrice** | **number** | Prix total en euros | [default to undefined]
**slotIds** | **Array<string>** | ID du créneau | [default to undefined]
**isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous | [default to undefined]
**createdAt** | **string** | Date de création | [default to undefined]
**updatedAt** | **string** | Date de mise à jour | [default to undefined]
**cancellationReason** | **string** | Raison d\'annulation (si annulé) | [optional] [default to undefined]
**cancelledBy** | **string** | ID de celui qui a annulé | [optional] [default to undefined]
**cancelledAt** | **string** | Date d\'annulation | [optional] [default to undefined]
**cancelledByManager** | **boolean** | Annulé par un gestionnaire | [optional] [default to undefined]
**noShowChargeApplied** | **boolean** | Frais de no-show appliqués | [optional] [default to undefined]
**noShowChargeAmount** | **number** | Montant des frais de no-show | [optional] [default to undefined]
## Example
```typescript
import { BookingInfo } from '@tennac-booking/sdk';
const instance: BookingInfo = {
id,
clubId,
userId,
playersIds,
status,
totalPrice,
slotIds,
isCreatorPayingAll,
createdAt,
updatedAt,
cancellationReason,
cancelledBy,
cancelledAt,
cancelledByManager,
noShowChargeApplied,
noShowChargeAmount,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)