You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* @param productId The unique identifier of the product
48
+
* @param offerIdentifier The promotional offer identifier that you set up in App Store Connect
49
+
* @param transactionId 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. This field is optional, but recommended.
50
+
* @return The signed JWS.
51
+
* {@link https://developer.apple.com/documentation/storekit/generating-jws-to-sign-app-store-requests Generating JWS to sign App Store requests}
* Create an introductory offer eligibility signature.
79
+
*
80
+
* @param productId The unique identifier of the product
81
+
* @param allowIntroductoryOffer A boolean value that determines whether the customer is eligible for an introductory offer
82
+
* @param transactionId 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.
83
+
* @return The signed JWS.
84
+
* {@link https://developer.apple.com/documentation/storekit/generating-jws-to-sign-app-store-requests Generating JWS to sign App Store requests}
Copy file name to clipboardExpand all lines: promotional_offer.ts
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,17 +20,17 @@ export class PromotionalOfferSignatureCreator {
20
20
* {@link https://developer.apple.com/documentation/storekit/in-app_purchase/original_api_for_in-app_purchase/subscriptions_and_offers/generating_a_signature_for_promotional_offers Generating a signature for promotional offers}
21
21
* @param productIdentifier The subscription product identifier
22
22
* @param subscriptionOfferID The subscription discount identifier
23
-
* @paramapplicationUsername An optional string value that you define; may be an empty string
23
+
* @paramappAccountToken An optional string value that you define; may be an empty string
24
24
* @param nonce A one-time UUID value that your server generates. Generate a new nonce for every signature.
25
25
* @param timestamp A timestamp your server generates in UNIX time format, in milliseconds. The timestamp keeps the offer active for 24 hours.
0 commit comments