One Logo Pool Ball
StoreKit · IOS API REFERENCE

SKPaymentDiscount

class · iOS 12.2+ · Deprecated in iOS 18.0 · SDK 27.1

class SKPaymentDiscount

Members (6)

init · iOS 12.2+ · Deprecated in iOS 18.0

init

TypeScript
static init(identifier: string, keyIdentifier: string, nonce: string, signature: string, timestamp: _Foundation_NSNumber): SKPaymentDiscount
Swift declaration
init(identifier: String, keyIdentifier: String, nonce: UUID, signature: String, timestamp: NSNumber)
get · iOS 12.2+ · Deprecated in iOS 18.0

identifier

TypeScript
get identifier(): string
Swift declaration
var identifier: String { get }
get · iOS 12.2+ · Deprecated in iOS 18.0

keyIdentifier

TypeScript
get keyIdentifier(): string
Swift declaration
var keyIdentifier: String { get }
get · iOS 12.2+ · Deprecated in iOS 18.0

nonce

TypeScript
get nonce(): string
Swift declaration
var nonce: UUID { get }
get · iOS 12.2+ · Deprecated in iOS 18.0

signature

TypeScript
get signature(): string
Swift declaration
var signature: String { get }
get · iOS 12.2+ · Deprecated in iOS 18.0

timestamp

TypeScript
get timestamp(): _Foundation_NSNumber
Swift declaration
@NSCopying var timestamp: NSNumber { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

SKPaymentDiscount.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All StoreKit types →