appstoreserverlibrary.models.AdvancedCommerceInfo module

class appstoreserverlibrary.models.AdvancedCommerceInfo.AdvancedCommerceInfo(messageIdentifier: UUID | None = None, advancedCommerceData: str | None = None)[source]

Bases: object

A response object you provide to present an offer or switch-plan recommendation message.

https://developer.apple.com/documentation/retentionmessaging/advancedcommerceinfo

advancedCommerceData: str | None

A Base64-encoded JSON object which contains a JWS describing an offer or switch-plan recommendation.

https://developer.apple.com/documentation/retentionmessaging/advancedcommercedata

messageIdentifier: UUID | None

The identifier of the message to display to the customer, along with the offer or switch-plan recommendation provided in advancedCommerceData.

https://developer.apple.com/documentation/retentionmessaging/messageidentifier