跳转到主要内容

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[] - 内容的总大小(以字节为单位)。