跳转到主要内容

Product 对象

  • productIdentifier string - 标识产品在 Apple App Store 中的字符串。
  • localizedDescription string - 产品的描述。
  • localizedTitle string - 产品的名称。
  • price number - 以本地货币计价的产品成本。
  • formattedPrice string - 本地化格式的产品价格。
  • currencyCode string - 遵循 ISO 4217 标准的 3 个字符的货币代码。
  • introductoryPrice ProductDiscount (可选) - 包含产品介绍性价格信息的对象。可用于该产品。
  • discounts ProductDiscount[] - 折扣优惠数组
  • subscriptionGroupIdentifier string - 订阅所属的订阅组的标识符。
  • subscriptionPeriod ProductSubscriptionPeriod (可选) - 订阅产品的周期详细信息。
  • isDownloadable boolean - 指示 App Store 是否有此产品可下载内容的布尔值。如果至少有一个文件与产品相关联,则为 true
  • downloadContentVersion string - 标识内容版本的字符串。
  • downloadContentLengths number[] - 以字节为单位的内容总大小。