Header menu logo fable-electron-docs-api

Product Type

Constructors

Constructor Description

Product(productIdentifier, localizedDescription, localizedTitle, price, formattedPrice, currencyCode, discounts, subscriptionGroupIdentifier, isDownloadable, downloadContentVersion, downloadContentLengths, ?introductoryPrice, ?subscriptionPeriod)

Full Usage: Product(productIdentifier, localizedDescription, localizedTitle, price, formattedPrice, currencyCode, discounts, subscriptionGroupIdentifier, isDownloadable, downloadContentVersion, downloadContentLengths, ?introductoryPrice, ?subscriptionPeriod)

Parameters:
    productIdentifier : string - The string that identifies the product to the Apple App Store.
    localizedDescription : string - A description of the product.
    localizedTitle : string - The name of the product.
    price : float - The cost of the product in the local currency.
    formattedPrice : string - The locale formatted price of the product.
    currencyCode : string - 3 character code presenting a product's currency based on the ISO 4217 standard.
    discounts : ProductDiscount[] - An array of discount offers
    subscriptionGroupIdentifier : string - The identifier of the subscription group to which the subscription belongs.
    isDownloadable : bool - 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.
    downloadContentVersion : string - A string that identifies the version of the content.
    downloadContentLengths : float[] - The total size of the content, in bytes.
    ?introductoryPrice : ProductDiscount - The object containing introductory price information for the product. available for the product.
    ?subscriptionPeriod : ProductSubscriptionPeriod - The period details for products that are subscriptions.

Returns: Product
productIdentifier : string

The string that identifies the product to the Apple App Store.

localizedDescription : string

A description of the product.

localizedTitle : string

The name of the product.

price : float

The cost of the product in the local currency.

formattedPrice : string

The locale formatted price of the product.

currencyCode : string

3 character code presenting a product's currency based on the ISO 4217 standard.

discounts : ProductDiscount[]

An array of discount offers

subscriptionGroupIdentifier : string

The identifier of the subscription group to which the subscription belongs.

isDownloadable : bool

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.

downloadContentVersion : string

A string that identifies the version of the content.

downloadContentLengths : float[]

The total size of the content, in bytes.

?introductoryPrice : ProductDiscount

The object containing introductory price information for the product. available for the product.

?subscriptionPeriod : ProductSubscriptionPeriod

The period details for products that are subscriptions.

Returns: Product

Instance members

Instance member Description

this.currencyCode

Full Usage: this.currencyCode

3 character code presenting a product's currency based on the ISO 4217 standard.

this.discounts

Full Usage: this.discounts

An array of discount offers

this.downloadContentLengths

Full Usage: this.downloadContentLengths

The total size of the content, in bytes.

this.downloadContentVersion

Full Usage: this.downloadContentVersion

A string that identifies the version of the content.

this.formattedPrice

Full Usage: this.formattedPrice

The locale formatted price of the product.

this.introductoryPrice

Full Usage: this.introductoryPrice

The object containing introductory price information for the product. available for the product.

this.isDownloadable

Full Usage: this.isDownloadable

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.

this.localizedDescription

Full Usage: this.localizedDescription

A description of the product.

this.localizedTitle

Full Usage: this.localizedTitle

The name of the product.

this.price

Full Usage: this.price

The cost of the product in the local currency.

this.productIdentifier

Full Usage: this.productIdentifier

The string that identifies the product to the Apple App Store.

this.subscriptionGroupIdentifier

Full Usage: this.subscriptionGroupIdentifier

The identifier of the subscription group to which the subscription belongs.

this.subscriptionPeriod

Full Usage: this.subscriptionPeriod

The period details for products that are subscriptions.

Type something to start searching.