跳到主要內容

ProductDiscount 物件

  • identifier string - 用於唯一識別產品折扣優惠的字串。
  • type number - 折扣優惠的類型。
  • price number - 產品在當地貨幣的折扣價格。
  • priceLocale string - 用於格式化產品折扣價格的地區設定。
  • paymentMode string - 此產品折扣的付款模式。可以是 payAsYouGopayUpFrontfreeTrial
  • numberOfPeriods number - 一個整數,表示產品折扣可用的期間數。
  • subscriptionPeriod ProductSubscriptionPeriod (選填) - 定義產品折扣期間的物件。