UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

39 lines (31 loc) 1.68 kB
# CreateSubscriptionPlanRequestDiscount ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **bookingFree** | **boolean** | | [optional] [default to undefined] **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined] **pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined] **pricingPeriodIds** | **Array<string>** | | [optional] [default to undefined] **offPeakRuleNames** | **Array<string>** | Liste optionnelle des noms de périodes tarifaires sur lesquelles appliquer la remise. Laisser vide pour appliquer la remise à toutes les heures d\'ouverture du club. | [optional] [default to undefined] **validTo** | **string** | | [optional] [default to undefined] **validFrom** | **string** | | [optional] [default to undefined] **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined] **percentage** | **number** | | [optional] [default to undefined] **type** | [**DiscountType**](DiscountType.md) | | [default to undefined] ## Example ```typescript import { CreateSubscriptionPlanRequestDiscount } from '@tennac-booking/sdk'; const instance: CreateSubscriptionPlanRequestDiscount = { bookingFree, offPeakRules, pricingPeriodDiscounts, pricingPeriodIds, offPeakRuleNames, validTo, validFrom, maxDiscountAmountInCents, percentage, type, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)