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

PropertyTypeDescription
contentLengthsnumber[]The total size of the content, in bytes.
contentVersionstringA string that identifies the version of the content.
currencyCodestring3 character code presenting a product's currency based on the ISO 4217 standard.
discountsElectronProductDiscount[]An array of discount offers.
downloadContentLengthsnumber[]The total size of the content, in bytes.
downloadContentVersionstringA string that identifies the version of the content.
formattedPricestringThe locale formatted price of the product.
introductoryPrice?ElectronProductDiscountThe object containing introductory price information for the product, available for the product.
isDownloadablebooleanA 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.
localizedDescriptionstringA description of the product.
localizedTitlestringThe name of the product.
pricenumberThe cost of the product in the local currency.
productIdentifierstringThe string that identifies the product to the Apple App Store.
subscriptionGroupIdentifierstringThe identifier of the subscription group to which the subscription belongs.
subscriptionPeriod?ElectronProductSubscriptionPeriodThe period details for products that are subscriptions.

Links to this page: