Show / Hide Table of Contents

Class ISN_SKProductDiscount

The details of a discount offer for a subscription product.

Inheritance
System.Object
ISN_SKProductDiscount
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.StoreKit
Assembly: cs.temp.dll.dll
Syntax
public class ISN_SKProductDiscount

Properties

Identifier

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

Declaration
public string Identifier { get; }
Property Value
Type Description
System.String

LocalizedPrice

The locale used to format the price of the product.

Declaration
public string LocalizedPrice { get; set; }
Property Value
Type Description
System.String

NumberOfPeriods

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

A product discount may be available for one or more periods. The period, defined in SubscriptionPeriod, is a set number of days, weeks, months, or years.

The total length of time that a product discount is available is calculated by multiplying the numberOfPeriods by the period.

Note that the discount period is independent of the product subscription period.

Declaration
public int NumberOfPeriods { get; }
Property Value
Type Description
System.Int32

NumberOfUnits

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

Declaration
public int NumberOfUnits { get; set; }
Property Value
Type Description
System.Int32

PaymentMode

The payment mode for this product discount.

Declaration
public ISN_SKPaymentMode PaymentMode { get; set; }
Property Value
Type Description
ISN_SKPaymentMode

Price

The discount price of the product in the local currency.

Declaration
public float Price { get; set; }
Property Value
Type Description
System.Single

PriceLocale

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

Declaration
public ISN_NSLocale PriceLocale { get; }
Property Value
Type Description
ISN_NSLocale

SubscriptionPeriod

An object that defines the period for the product discount.

Declaration
public ISN_SKProductSubscriptionPeriod SubscriptionPeriod { get; set; }
Property Value
Type Description
ISN_SKProductSubscriptionPeriod

Type

The type of discount offer.

Declaration
public ISN_SKProductDiscountType Type { get; }
Property Value
Type Description
ISN_SKProductDiscountType
In This Article
Back to top Generated by DocFX