UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

39 lines (31 loc) 1.86 kB
# CreateOpenBookingRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **slotIds** | **Array<string>** | ID du créneau à réserver | [default to undefined] **playersCount** | **number** | Nombre total réel de joueurs participant à la réservation (créateur inclus). Peut être supérieur au nombre de joueurs enregistrés. | [default to undefined] **players** | [**Array<PlayerWithPaymentMethod>**](PlayerWithPaymentMethod.md) | Liste de tous les joueurs avec leurs méthodes de paiement (INCLUT LE CRÉATEUR) | [default to undefined] **isCreatorPayingAll** | **boolean** | Indique si le créateur paie pour tous les joueurs | [optional] [default to undefined] **paymentMethod** | [**PaymentMethod**](PaymentMethod.md) | | [optional] [default to undefined] **useDefaultPaymentMethod** | **boolean** | Indique si l\'utilisateur veut utiliser sa méthode de paiement par défaut | [optional] [default to undefined] **creditToUseInCents** | **number** | | [optional] [default to undefined] **maxPlayersDesired** | **number** | | [optional] [default to undefined] **description** | **string** | Description de la réservation ouverte | [optional] [default to undefined] **minLevel** | **string** | Niveau minimal souhaité pour rejoindre | [optional] [default to undefined] ## Example ```typescript import { CreateOpenBookingRequest } from '@tennac-booking/sdk'; const instance: CreateOpenBookingRequest = { slotIds, playersCount, players, isCreatorPayingAll, paymentMethod, useDefaultPaymentMethod, creditToUseInCents, maxPlayersDesired, description, minLevel, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)