Package com.apple.itunes.storekit.model
Class DecodedRealtimeRequestBody
java.lang.Object
com.apple.itunes.storekit.model.DecodedRealtimeRequestBody
- All Implemented Interfaces:
DecodedSignedData
The decoded request body the App Store sends to your server to request a real-time retention message.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDecodedRealtimeRequestBody(String originalTransactionId, Long appAppleId, String productId, String userLocale, UUID requestIdentifier, Long signedDate, Environment environment) DecodedRealtimeRequestBody(String originalTransactionId, Long appAppleId, String productId, String userLocale, UUID requestIdentifier, Long signedDate, String rawEnvironment) -
Method Summary
Modifier and TypeMethodDescriptionappAppleId(Long appAppleId) environment(Environment environment) booleanThe unique identifier of the app in the App Store.The server environment, either sandbox or production.The original transaction identifier of the customer’s subscription.The unique identifier of the auto-renewable subscription.A UUID the App Store server creates to uniquely identify each request.The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature (JWS) data.Fields that are not recognized for this objectThe device’s locale.inthashCode()originalTransactionId(String originalTransactionId) requestIdentifier(UUID requestIdentifier) voidsetAppAppleId(Long appAppleId) voidsetEnvironment(Environment environment) voidsetOriginalTransactionId(String originalTransactionId) voidsetProductId(String productId) voidsetRawEnvironment(String rawEnvironment) voidsetRequestIdentifier(UUID requestIdentifier) voidsetSignedDate(Long signedDate) voidsetUnknownFields(Map<String, Object> unknownFields) voidsetUserLocale(String userLocale) signedDate(Long signedDate) toString()unknownFields(Map<String, Object> unknownFields) userLocale(String userLocale)
-
Constructor Details
-
DecodedRealtimeRequestBody
-
DecodedRealtimeRequestBody
-
-
Method Details
-
originalTransactionId
-
getOriginalTransactionId
The original transaction identifier of the customer’s subscription.- Returns:
- originalTransactionId
- See Also:
-
setOriginalTransactionId
-
appAppleId
-
getAppAppleId
The unique identifier of the app in the App Store.- Returns:
- appAppleId
- See Also:
-
setAppAppleId
-
productId
-
getProductId
The unique identifier of the auto-renewable subscription.- Returns:
- productId
- See Also:
-
setProductId
-
userLocale
-
getUserLocale
The device’s locale.- Returns:
- userLocale
- See Also:
-
setUserLocale
-
requestIdentifier
-
getRequestIdentifier
A UUID the App Store server creates to uniquely identify each request.- Returns:
- requestIdentifier
- See Also:
-
setRequestIdentifier
-
signedDate
-
getSignedDate
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature (JWS) data.- Specified by:
getSignedDatein interfaceDecodedSignedData- Returns:
- signedDate
- See Also:
-
setSignedDate
-
environment
-
getEnvironment
The server environment, either sandbox or production.- Returns:
- environment
- See Also:
-
getRawEnvironment
- See Also:
-
setEnvironment
-
setRawEnvironment
-
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
-