Class IntroductoryOfferEligibilitySignatureCreator

Hierarchy

  • BaseSignatureCreator
    • IntroductoryOfferEligibilitySignatureCreator

Constructors

  • Create a IntroductoryOfferEligibilitySignatureCreator

    Parameters

    • signingKey: string

      Your private key downloaded from App Store Connect

    • keyId: string

      Your private key ID from App Store Connect

    • issuerId: string

      Your issuer ID from the Keys page in App Store Connect

    • bundleId: string

      Your app's bundle ID

    Returns IntroductoryOfferEligibilitySignatureCreator

Methods

  • Create an introductory offer eligibility signature.

    Parameters

    • productId: string

      The unique identifier of the product

    • allowIntroductoryOffer: boolean

      A boolean value that determines whether the customer is eligible for an introductory offer

    • transactionId: string

      The unique identifier of any transaction that belongs to the customer. You can use the customer's appTransactionId, even for customers who haven't made any In-App Purchases in your app.

    Returns string

    The signed JWS. Generating JWS to sign App Store requests

  • Parameters

    • featureSpecificClaims: { [key: string]: any }

    Returns string

MMNEPVFCICPMFPCPTTAAATR