Skip to main content

ProductDiscount Object

  • identifier string - A string used to uniquely identify a discount offer for a product.用于唯一标识产品折扣优惠的字符串。
  • type number - The type of discount offer.折扣优惠的类型。
  • price number - The discount price of the product in the local currency.以当地货币表示的产品折扣价格。
  • priceLocale string - The locale used to format the discount price of the product.用于设置产品折扣价格格式的区域设置。
  • paymentMode string - The payment mode for this product discount. 此产品折扣的付款方式。Can be payAsYouGo, payUpFront, or freeTrial.可以是payAsYouGopayUpFrontfreeTrial
  • numberOfPeriods number - An integer that indicates the number of periods the product discount is available.一个整数,表示产品折扣可用的期间数。
  • subscriptionPeriod ProductSubscriptionPeriod (optional) - An object that defines the period for the product discount.一个定义产品折扣期间的对象。