ProductDiscount

external interface ProductDiscount(source)

Properties

Link copied to clipboard
abstract external var identifier: String

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

Link copied to clipboard
abstract external 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 external var price: Double

The discount price of the product in the local currency.

Link copied to clipboard
abstract external 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 external var type: Double

The type of discount offer.