当前位置: 首页 > 文档资料 > Electron 中文文档 >

产品对象

优质
小牛编辑
133浏览
2023-12-01
  • 产品标识 字符串 - 用于苹果应用商店标识产品的字符串。
  • 局限化描述 字符串 - 产品的描述。
  • 局部化标题 字符串 - 产品的名称。
  • 内容版本 字符串 - 标识产品的版本的字符串。
  • 内容长度 数字[] - 内容的总大小,以字节为单位。
  • 价格 数字 - 产品的本地货币化的成本。
  • 格式化价格 字符串 - 产品的本地格式化价格。
  • 是否可下载的 布尔型 - 一个布尔值,指示应用商店是否有该产品的可下载内容。 true 如果至少有一个文件与产品关联。

Product Object

  • 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.
  • contentVersion String - A string that identifies the version of the content.
  • contentLengths Number[] - The total size of the content, in bytes.
  • price Number - The cost of the product in the local currency.
  • formattedPrice String - The locale formatted price of 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.