Type Aliases
The following type aliases are available globally.
-
Handler for
initiatePurchaseandrestorePurchasefunctionDeclaration
Swift
public typealias ZSPurchaseHandler = ((_ subscription: ZSSubscriptionDetail?, _ error: ZSError?) -> ()) -
Handler for
initiatePurchaseandrestorePurchasefunctionDeclaration
Swift
public typealias ZSRestorePurchaseHandler = ((_ response: [ZSRestorePurchaseInfo], _ error: ZSError?) -> ()) -
Handler for
isStorePurchaseAssociatedWithCurrentUserDeclaration
Swift
public typealias ZSUserValidateHandler = ((_ isUserValid: Bool, _ validUserForReceipt: String?, _ error: ZSError?) -> ()) -
Handler for
isUserEligibleForIntroductoryOfferDeclaration
Swift
public typealias ZSIntroOfferAvailablityHandler = ((_ isIntroOfferAppliciable: Bool, _ error: ZSError?) -> ()) -
Handler for getStoreKitProducts
Declaration
Swift
public typealias ZSSKProductsHandler = ((Result<[Product], ZSError>) -> ())
Install in Dash
Type Aliases Reference