Package com.apple.itunes.storekit.model
Class PromotionalOffer
java.lang.Object
com.apple.itunes.storekit.model.PromotionalOffer
A promotional offer and message you provide in a real-time response to your Get Retention Message endpoint.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe identifier of the message to display to the customer, along with the promotional offer.The promotional offer signature in V1 format.The promotional offer signature in V2 format.inthashCode()messageIdentifier(UUID messageIdentifier) promotionalOfferSignatureV1(PromotionalOfferSignatureV1 promotionalOfferSignatureV1) promotionalOfferSignatureV2(String promotionalOfferSignatureV2) voidsetMessageIdentifier(UUID messageIdentifier) voidsetPromotionalOfferSignatureV1(PromotionalOfferSignatureV1 promotionalOfferSignatureV1) voidsetPromotionalOfferSignatureV2(String promotionalOfferSignatureV2) toString()
-
Constructor Details
-
PromotionalOffer
public PromotionalOffer()
-
-
Method Details
-
messageIdentifier
-
getMessageIdentifier
The identifier of the message to display to the customer, along with the promotional offer.- Returns:
- messageIdentifier
- See Also:
-
setMessageIdentifier
-
promotionalOfferSignatureV2
-
getPromotionalOfferSignatureV2
The promotional offer signature in V2 format.- Returns:
- promotionalOfferSignatureV2
- See Also:
-
setPromotionalOfferSignatureV2
-
promotionalOfferSignatureV1
public PromotionalOffer promotionalOfferSignatureV1(PromotionalOfferSignatureV1 promotionalOfferSignatureV1) -
getPromotionalOfferSignatureV1
The promotional offer signature in V1 format.- Returns:
- promotionalOfferSignatureV1
- See Also:
-
setPromotionalOfferSignatureV1
-
equals
-
hashCode
public int hashCode() -
toString
-