ProductDiscount

external interface ProductDiscount(source)

Properties

Link copied to clipboard
abstract var identifier: String

A string used to uniquely identify a discount offer for a product.

Link copied to clipboard
abstract var numberOfPeriods: Double

An integer that indicates the number of periods the product discount is available.

Link copied to clipboard

The payment mode for this product discount. Can be payAsYouGo, payUpFront, or freeTrial.

Link copied to clipboard
abstract var price: Double

The discount price of the product in the local currency.

Link copied to clipboard
abstract var priceLocale: String

The locale used to format the discount price of the product.

Link copied to clipboard

An object that defines the period for the product discount.

Link copied to clipboard
abstract var type: Double

The type of discount offer.