@tennac-booking/sdk
Version:
OpenAPI client for @tennac-booking/sdk
125 lines (117 loc) • 5.43 kB
Markdown
# BookingSummary
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **string** | | [default to undefined]
**clubId** | **string** | | [default to undefined]
**userId** | **string** | | [default to undefined]
**playersIds** | **Array<string>** | | [default to undefined]
**status** | [**BookingStatus**](BookingStatus.md) | | [default to undefined]
**paymentByPlayersStatus** | [**Array<BookingPaymentStatus>**](BookingPaymentStatus.md) | | [default to undefined]
**isCreatorPayingAll** | **boolean** | | [default to undefined]
**totalPrice** | **number** | | [default to undefined]
**slotIds** | **Array<string>** | | [default to undefined]
**isPublic** | **boolean** | | [default to undefined]
**isOpen** | **boolean** | | [default to undefined]
**description** | **string** | | [optional] [default to undefined]
**minLevel** | **string** | | [optional] [default to undefined]
**maxPlayersDesired** | **number** | | [optional] [default to undefined]
**initialPlayers** | [**Array<BookingPlayerInfo>**](BookingPlayerInfo.md) | | [optional] [default to undefined]
**requestingUserId** | **string** | | [default to undefined]
**creatorPaymentMethodId** | **string** | | [optional] [default to undefined]
**paymentMethodSetupCompleted** | **boolean** | | [default to undefined]
**noShowChargeAmount** | **number** | | [optional] [default to undefined]
**noShowChargeApplied** | **boolean** | | [optional] [default to undefined]
**noShowChargeIntentId** | **string** | | [optional] [default to undefined]
**cancellationReason** | **string** | | [optional] [default to undefined]
**cancelledBy** | **string** | | [optional] [default to undefined]
**cancelledAt** | **string** | | [optional] [default to undefined]
**cancelledByManager** | **boolean** | | [optional] [default to undefined]
**createdAt** | **string** | | [default to undefined]
**updatedAt** | **string** | | [default to undefined]
**playersCount** | **number** | | [optional] [default to undefined]
**guestPaymentsCount** | **number** | | [optional] [default to undefined]
**clubPicture** | **string** | | [optional] [default to undefined]
**clubBanner** | **string** | | [optional] [default to undefined]
**courtName** | **string** | | [optional] [default to undefined]
**sportName** | **string** | | [optional] [default to undefined]
**startDate** | **string** | | [optional] [default to undefined]
**myPaymentStatus** | [**InvoiceStatus**](InvoiceStatus.md) | | [optional] [default to undefined]
**bookingStatus** | **string** | | [optional] [default to undefined]
**playersName** | **Array<string>** | | [default to undefined]
**myAmountToPay** | **number** | | [default to undefined]
**paymentUrl** | **string** | | [optional] [default to undefined]
**stripeInvoiceUrl** | **string** | | [optional] [default to undefined]
**totalAmount** | **number** | | [default to undefined]
**paymentDistribution** | [**PaymentDistributionResult**](PaymentDistributionResult.md) | | [optional] [default to undefined]
**timeBeforeCancel** | **string** | | [optional] [default to undefined]
**limitCancellationDate** | **string** | | [optional] [default to undefined]
**clubAddress** | [**BookingSummaryClubAddress**](BookingSummaryClubAddress.md) | | [optional] [default to undefined]
**bookingHistory** | [**Array<BookingHistoryPopulated>**](BookingHistoryPopulated.md) | | [optional] [default to undefined]
**club** | [**BookingClubInfo**](BookingClubInfo.md) | | [optional] [default to undefined]
**slots** | [**Array<BookingSlotInfo>**](BookingSlotInfo.md) | | [default to undefined]
**court** | [**BookingCourtInfo**](BookingCourtInfo.md) | | [optional] [default to undefined]
**sport** | [**BookingSportInfo**](BookingSportInfo.md) | | [optional] [default to undefined]
**players** | [**Array<BookingPlayerPaymentSummary>**](BookingPlayerPaymentSummary.md) | | [default to undefined]
**userParticipationStatus** | **string** | | [optional] [default to undefined]
**waitListPosition** | **number** | | [optional] [default to undefined]
## Example
```typescript
import { BookingSummary } from '@tennac-booking/sdk';
const instance: BookingSummary = {
id,
clubId,
userId,
playersIds,
status,
paymentByPlayersStatus,
isCreatorPayingAll,
totalPrice,
slotIds,
isPublic,
isOpen,
description,
minLevel,
maxPlayersDesired,
initialPlayers,
requestingUserId,
creatorPaymentMethodId,
paymentMethodSetupCompleted,
noShowChargeAmount,
noShowChargeApplied,
noShowChargeIntentId,
cancellationReason,
cancelledBy,
cancelledAt,
cancelledByManager,
createdAt,
updatedAt,
playersCount,
guestPaymentsCount,
clubPicture,
clubBanner,
courtName,
sportName,
startDate,
myPaymentStatus,
bookingStatus,
playersName,
myAmountToPay,
paymentUrl,
stripeInvoiceUrl,
totalAmount,
paymentDistribution,
timeBeforeCancel,
limitCancellationDate,
clubAddress,
bookingHistory,
club,
slots,
court,
sport,
players,
userParticipationStatus,
waitListPosition,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)