 }
 
 private func checkPurchasesPurchasingAPI(purchases: Purchases) {
-    purchases.getCustomerInfo { _, _ in }
-    purchases.getOfferings { _, _ in }
+    purchases.getCustomerInfo { (_: CustomerInfo?, _: Error?) in }
+    purchases.getOfferings { (_: Offerings?, _: Error?) in }
     purchases.getProducts([String]()) { (_: [StoreProduct]) in }
 
     let skp: SKProduct = SKProduct()

    let discount: StoreProductDiscount! = nil
    let pack: Package! = nil

    purchases.purchase(product: stp) { _, _, _, _  in }
    purchases.purchase(package: pack) { _, _, _, _  in }
    purchases.syncPurchases { _, _ in }

    let checkEligComplete: ([String: IntroEligibility]) -> Void = { _ in }
    purchases.checkTrialOrIntroductoryPriceEligibility([String](), completion: checkEligComplete)
    purchases.checkTrialOrIntroductoryPriceEligibility([String]()) { _ in }

    purchases.purchase(product: stp, discount: discount) { _, _, _, _  in }
    purchases.purchase(package: pack, discount: discount) { _, _, _, _  in }
    purchases.invalidateCustomerInfoCache()

#if os(iOS)

    let customerInfo: CustomerInfo? = nil
    purchases.delegate?.purchases?(purchases, receivedUpdated: customerInfo!)

    let defermentBlock = { (_: (StoreTransaction?, CustomerInfo?, Error?, Bool) -> Void) in }
    purchases.delegate?.purchases?(purchases, shouldPurchasePromoProduct: skp, defermentBlock: defermentBlock)
}

private func checkIdentity(purchases: Purchases) {
    purchases.logOut { (_: CustomerInfo?, _: Error?) in }
    purchases.logIn("") { (_: CustomerInfo?, _: Bool, _: Error?) in }
}

private func checkPurchasesSupportAPI(purchases: Purchases) {
