func purchase(package: Package) async throws -> PurchaseResultData
Initiates a purchase of a
Package
.func purchase(package: Package, completion: PurchaseCompletedBlock )
Initiates a purchase of a
Package
.func purchase(product: StoreProduct ) async throws -> PurchaseResultData
Initiates a purchase of a
StoreProduct
.func purchase(product: StoreProduct , completion: PurchaseCompletedBlock )
Initiates a purchase of a
StoreProduct
.static func canMakePayments () -> Bool
Indicates whether the user is allowed to make payments. More information on when this might be
false
here