跳转到主要内容

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