Package com.apple.itunes.storekit.offers
Class PromotionalOfferSignatureCreator
java.lang.Object
com.apple.itunes.storekit.offers.PromotionalOfferSignatureCreator
- 
Constructor Summary
ConstructorsConstructorDescriptionPromotionalOfferSignatureCreator(String signingKey, String keyId, String bundleId)  - 
Method Summary
 
- 
Constructor Details
- 
PromotionalOfferSignatureCreator
 
 - 
 - 
Method Details
- 
createSignature
public String createSignature(String productIdentifier, String subscriptionOfferID, String appAccountToken, UUID nonce, long timestamp) Create a promotional offer signature- Parameters:
 productIdentifier- The subscription product identifiersubscriptionOfferID- The subscription discount identifierappAccountToken- An optional string value that you define; may be an empty stringnonce- A one-time UUID value that your server generates. Generate a new nonce for every signature.timestamp- A timestamp your server generates in UNIX time format, in milliseconds. The timestamp keeps the offer active for 24 hours.- Returns:
 - The Base64 encoded signature
 - See Also:
 
 
 -