Skip to content

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 ElectronProductDiscount

Properties

PropertyTypeDescription
identifierstringA string used to uniquely identify a discount offer for a product.
numberOfPeriodsnumberAn 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.
pricenumberThe discount price of the product in the local currency.
priceLocalestringThe locale used to format the discount price of the product.
subscriptionPeriod?ElectronProductSubscriptionPeriodAn object that defines the period for the product discount.
typenumberThe type of discount offer.

Links to this page: