UNPKG

@tennac-booking/sdk

Version:

OpenAPI client for @tennac-booking/sdk

39 lines (31 loc) 1.7 kB
# SubscriptionPlanDiscountUpdateRequest ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **type** | [**DiscountType**](DiscountType.md) | | [default to undefined] **percentage** | **number** | | [optional] [default to undefined] **maxDiscountAmountInCents** | **number** | | [optional] [default to undefined] **validFrom** | [**SubscriptionPlanDiscountUpdateRequestValidFrom**](SubscriptionPlanDiscountUpdateRequestValidFrom.md) | | [optional] [default to undefined] **validTo** | [**SubscriptionPlanDiscountUpdateRequestValidFrom**](SubscriptionPlanDiscountUpdateRequestValidFrom.md) | | [optional] [default to undefined] **offPeakRuleNames** | **Array<string>** | | [optional] [default to undefined] **offPeakRules** | [**Array<OffPeakRule>**](OffPeakRule.md) | | [optional] [default to undefined] **pricingPeriodIds** | **Array<string>** | | [optional] [default to undefined] **pricingPeriodDiscounts** | [**Array<PricingPeriodDiscount>**](PricingPeriodDiscount.md) | | [optional] [default to undefined] **bookingFree** | **boolean** | | [optional] [default to undefined] ## Example ```typescript import { SubscriptionPlanDiscountUpdateRequest } from '@tennac-booking/sdk'; const instance: SubscriptionPlanDiscountUpdateRequest = { type, percentage, maxDiscountAmountInCents, validFrom, validTo, offPeakRuleNames, offPeakRules, pricingPeriodIds, pricingPeriodDiscounts, bookingFree, }; ``` [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)