Package com.apple.itunes.storekit.offers
Class PromotionalOfferV2SignatureCreator
java.lang.Object
com.apple.itunes.storekit.signature.JWSSignatureCreator
com.apple.itunes.storekit.offers.PromotionalOfferV2SignatureCreator
- 
Constructor Summary
ConstructorsConstructorDescriptionPromotionalOfferV2SignatureCreator(String signingKey, String keyId, String issuerId, String bundleId) Create a PromotionalOfferV2SignatureCreator - 
Method Summary
Modifier and TypeMethodDescriptioncreateSignature(String productId, String offerIdentifier, String transactionId) Create a promotional offer V2 signature.Methods inherited from class com.apple.itunes.storekit.signature.JWSSignatureCreator
createNonce, createSignature 
- 
Constructor Details
- 
PromotionalOfferV2SignatureCreator
public PromotionalOfferV2SignatureCreator(String signingKey, String keyId, String issuerId, String bundleId) Create a PromotionalOfferV2SignatureCreator- Parameters:
 signingKey- Your private key downloaded from App Store ConnectkeyId- Your private key ID from App Store ConnectissuerId- Your issuer ID from the Keys page in App Store ConnectbundleId- Your app's bundle ID
 
 - 
 - 
Method Details
- 
createSignature
Create a promotional offer V2 signature.- Parameters:
 productId- The unique identifier of the productofferIdentifier- The promotional offer identifier that you set up in App Store Connect.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.- Returns:
 - The signed JWS
 - See Also:
 
 
 -