Package com.apple.itunes.storekit.model
Class PromotionalOfferSignatureV1
java.lang.Object
com.apple.itunes.storekit.model.PromotionalOfferSignatureV1
The promotional offer signature you generate using an earlier signature version.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappAccountToken(UUID appAccountToken) encodedSignature(String encodedSignature) booleanA UUID that you provide to associate with the transaction if the customer accepts the promotional offer.The Base64-encoded cryptographic signature you generate using the offer parameters.getKeyId()A string that identifies the private key you use to generate the signature.getNonce()A one-time-use UUID antireplay value you generate.The subscription offer identifier that you set up in App Store Connect.The subscription’s product identifier.The UNIX time, in milliseconds, when you generate the signature.inthashCode()offerIdentifier(String offerIdentifier) voidsetAppAccountToken(UUID appAccountToken) voidsetEncodedSignature(String encodedSignature) voidvoidvoidsetOfferIdentifier(String offerIdentifier) voidsetProductId(String productId) voidsetTimestamp(Long timestamp) toString()
-
Constructor Details
-
PromotionalOfferSignatureV1
-
-
Method Details
-
encodedSignature
-
getEncodedSignature
The Base64-encoded cryptographic signature you generate using the offer parameters.- Returns:
- encodedSignature
-
setEncodedSignature
-
productId
-
getProductId
The subscription’s product identifier.- Returns:
- productId
- See Also:
-
setProductId
-
nonce
-
getNonce
A one-time-use UUID antireplay value you generate.- Returns:
- nonce
-
setNonce
-
timestamp
-
getTimestamp
The UNIX time, in milliseconds, when you generate the signature.- Returns:
- timestamp
-
setTimestamp
-
keyId
-
getKeyId
A string that identifies the private key you use to generate the signature.- Returns:
- keyId
-
setKeyId
-
offerIdentifier
-
getOfferIdentifier
The subscription offer identifier that you set up in App Store Connect.- Returns:
- offerIdentifier
-
setOfferIdentifier
-
appAccountToken
-
getAppAccountToken
A UUID that you provide to associate with the transaction if the customer accepts the promotional offer.- Returns:
- appAccountToken
-
setAppAccountToken
-
equals
-
hashCode
public int hashCode() -
toString
-