init
TypeScriptstatic init(): SKProductSwift declarationinit()class · iOS 3.0+ · Deprecated in iOS 18.0 · SDK 27.1
class SKProductstatic init(): SKProductSwift declarationinit()get contentVersion(): stringSwift declarationvar contentVersion: String { get }get discounts(): Array<SKProductDiscount>Swift declarationvar discounts: [SKProductDiscount] { get }get downloadContentLengths(): Array<_Foundation_NSNumber>Swift declarationvar downloadContentLengths: [NSNumber] { get }get downloadContentVersion(): stringSwift declarationvar downloadContentVersion: String { get }get introductoryPrice(): (SKProductDiscount) | nullSwift declarationvar introductoryPrice: SKProductDiscount? { get }get isDownloadable(): booleanSwift declarationvar isDownloadable: Bool { get }get isFamilyShareable(): booleanSwift declarationvar isFamilyShareable: Bool { get }get localizedDescription(): stringSwift declarationvar localizedDescription: String { get }get localizedTitle(): stringSwift declarationvar localizedTitle: String { get }get price(): _Foundation_NSDecimalNumberSwift declarationvar price: NSDecimalNumber { get }get priceLocale(): _Foundation_LocaleSwift declarationvar priceLocale: Locale { get }get productIdentifier(): stringSwift declarationvar productIdentifier: String { get }get subscriptionGroupIdentifier(): (string) | nullSwift declarationvar subscriptionGroupIdentifier: String? { get }get subscriptionPeriod(): (SKProductSubscriptionPeriod) | nullSwift declarationvar subscriptionPeriod: SKProductSubscriptionPeriod? { get }No declarations were skipped in this snapshot.