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