DiscountEligibilityDeterminer: ((applicationReceipt, requests, callback) => void) & {
    cacheReceipt?: ((receipt) => void);
}

Determine which discount the user is eligible to.

Type declaration

    • (applicationReceipt, requests, callback): void
    • Parameters

      Returns void

Type declaration

  • Optional cacheReceipt?: ((receipt) => void)

Param: applicationReceipt

An apple appstore receipt

Param: requests

List of discount offers to evaluate eligibility for

Param: callback

Get the response, a boolean for each request (matched by index).