Skip to content

ElectronProduct

Unofficial

A product available for purchase from the Mac App Store.

Import:

import type { ElectronProduct } from '@obsidian-typings/obsidian-public-latest';

Signature:

export interface ElectronProduct

Properties

Property Type Description
contentLengths number[] The total size of the content, in bytes.
contentVersion string A string that identifies the version of the content.
currencyCode string 3 character code presenting a product's currency based on the ISO 4217 standard.
discounts ElectronProductDiscount[] An array of discount offers.
downloadContentLengths number[] The total size of the content, in bytes.
downloadContentVersion string A string that identifies the version of the content.
formattedPrice string The locale formatted price of the product.
introductoryPrice? ElectronProductDiscount The object containing introductory price information for the product, available for the product.
isDownloadable boolean A boolean value that indicates whether the App Store has downloadable content for this product. true if at least one file has been associated with the product.
localizedDescription string A description of the product.
localizedTitle string The name of the product.
price number The cost of the product in the local currency.
productIdentifier string The string that identifies the product to the Apple App Store.
subscriptionGroupIdentifier string The identifier of the subscription group to which the subscription belongs.
subscriptionPeriod? ElectronProductSubscriptionPeriod The period details for products that are subscriptions.

Links to this page: