Package com.apple.itunes.storekit.model
Class ResponseBodyV2DecodedPayload
java.lang.Object
com.apple.itunes.storekit.model.ResponseBodyV2DecodedPayload
- All Implemented Interfaces:
 DecodedSignedData
A decoded payload containing the version 2 notification data.
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbooleanexternalPurchaseToken(ExternalPurchaseToken externalPurchaseToken) getData()The object that contains the app metadata and signed renewal and transaction information.This field appears when the notificationType is EXTERNAL_PURCHASE_TOKEN.The in-app purchase event for which the App Store sends this version 2 notification.A unique identifier for the notification.The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.Additional information that identifies the notification event.The summary data that appears when the App Store server completes your request to extend a subscription renewal date for eligible subscribers.Fields that are not recognized for this objectA string that indicates the notification’s App Store Server Notifications version number.inthashCode()notificationType(NotificationTypeV2 notificationType) notificationUUID(String notificationUUID) voidvoidsetExternalPurchaseToken(ExternalPurchaseToken externalPurchaseToken) voidsetNotificationType(NotificationTypeV2 notificationType) voidsetNotificationUUID(String notificationUUID) voidsetRawNotificationType(String rawNotificationType) voidsetRawSubtype(String rawSubtype) voidsetSignedDate(Long signedDate) voidsetSubtype(Subtype subtype) voidsetSummary(Summary summary) voidsetUnknownFields(Map<String, Object> unknownFields) voidsetVersion(String version) signedDate(Long signedDate) toString()unknownFields(Map<String, Object> unknownFields)  
- 
Constructor Details
- 
ResponseBodyV2DecodedPayload
public ResponseBodyV2DecodedPayload() 
 - 
 - 
Method Details
- 
notificationType
 - 
getNotificationType
The in-app purchase event for which the App Store sends this version 2 notification.- Returns:
 - notificationType
 - See Also:
 
 - 
getRawNotificationType
- See Also:
 
 - 
setNotificationType
 - 
setRawNotificationType
 - 
subtype
 - 
getSubtype
Additional information that identifies the notification event. The subtype field is present only for specific version 2 notifications.- Returns:
 - subtype
 - See Also:
 
 - 
getRawSubtype
- See Also:
 
 - 
setSubtype
 - 
setRawSubtype
 - 
notificationUUID
 - 
getNotificationUUID
A unique identifier for the notification.- Returns:
 - notificationUUID
 - See Also:
 
 - 
setNotificationUUID
 - 
data
 - 
getData
The object that contains the app metadata and signed renewal and transaction information. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.- Returns:
 - data
 - See Also:
 
 - 
setData
 - 
version
 - 
getVersion
A string that indicates the notification’s App Store Server Notifications version number.- Returns:
 - version
 - See Also:
 
 - 
setVersion
 - 
signedDate
 - 
getSignedDate
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.- Specified by:
 getSignedDatein interfaceDecodedSignedData- Returns:
 - signedDate
 - See Also:
 
 - 
setSignedDate
 - 
summary
 - 
getSummary
The summary data that appears when the App Store server completes your request to extend a subscription renewal date for eligible subscribers. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.- Returns:
 - summary
 - See Also:
 
 - 
setSummary
 - 
externalPurchaseToken
public ResponseBodyV2DecodedPayload externalPurchaseToken(ExternalPurchaseToken externalPurchaseToken)  - 
getExternalPurchaseToken
This field appears when the notificationType is EXTERNAL_PURCHASE_TOKEN. The data, summary, and externalPurchaseToken fields are mutually exclusive. The payload contains only one of these fields.- Returns:
 - externalPurchaseToken
 - See Also:
 
 - 
setExternalPurchaseToken
 - 
unknownFields
 - 
getUnknownFields
Fields that are not recognized for this object- Returns:
 - A map of JSON keys to objects
 
 - 
setUnknownFields
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -