ElectronProductDiscount
Unofficial
A discount offer for a product in the Mac App Store.
Import:
import type { ElectronProductDiscount } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
export interface ElectronProductDiscountProperties
| Property | Type | Description | |
|---|---|---|---|
| identifier | string | A string used to uniquely identify a discount offer for a product. | |
| numberOfPeriods | number | An integer that indicates the number of periods the product discount is available. | |
| paymentMode | 'freeTrial' | 'payAsYouGo' | 'payUpFront' | The payment mode for this product discount. Can be freeTrial, payAsYouGo or payUpFront. | |
| price | number | The discount price of the product in the local currency. | |
| priceLocale | string | The locale used to format the discount price of the product. | |
| subscriptionPeriod? | ElectronProductSubscriptionPeriod | An object that defines the period for the product discount. | |
| type | number | The type of discount offer. |
Links to this page: