Package com.apple.itunes.storekit.model
Class Data
java.lang.Object
com.apple.itunes.storekit.model.Data
The app metadata and the signed renewal and transaction information.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionappAppleId
(Long appAppleId) bundleVersion
(String bundleVersion) consumptionRequestReason
(ConsumptionRequestReason consumptionRequestReason) environment
(Environment environment) boolean
The unique identifier of an app in the App Store.The bundle identifier of an app.The version of the build that identifies an iteration of the bundle.The reason the customer requested the refund.The server environment that the notification applies to, either sandbox or production.Subscription renewal information, signed by the App Store, in JSON Web Signature (JWS) format.Transaction information signed by the App Store, in JSON Web Signature (JWS) format.The status of an auto-renewable subscription as of the signedDate in the responseBodyV2DecodedPayload.Fields that are not recognized for this objectint
hashCode()
void
setAppAppleId
(Long appAppleId) void
setBundleId
(String bundleId) void
setBundleVersion
(String bundleVersion) void
setConsumptionRequestReason
(ConsumptionRequestReason consumptionRequestReason) void
setEnvironment
(Environment environment) void
setRawConsumptionRequestReason
(String rawConsumptionRequestReason) void
setRawEnvironment
(String rawEnvironment) void
setRawStatus
(Integer rawStatus) void
setSignedRenewalInfo
(String signedRenewalInfo) void
setSignedTransactionInfo
(String signedTransactionInfo) void
void
setUnknownFields
(Map<String, Object> unknownFields) signedRenewalInfo
(String signedRenewalInfo) signedTransactionInfo
(String signedTransactionInfo) toString()
unknownFields
(Map<String, Object> unknownFields)
-
Constructor Details
-
Data
public Data()
-
-
Method Details
-
environment
-
getEnvironment
The server environment that the notification applies to, either sandbox or production.- Returns:
- environment
- See Also:
-
getRawEnvironment
- See Also:
-
setEnvironment
-
setRawEnvironment
-
appAppleId
-
getAppAppleId
The unique identifier of an app in the App Store.- Returns:
- appAppleId
- See Also:
-
setAppAppleId
-
bundleId
-
getBundleId
The bundle identifier of an app.- Returns:
- bundleId
- See Also:
-
setBundleId
-
bundleVersion
-
getBundleVersion
The version of the build that identifies an iteration of the bundle.- Returns:
- bundleVersion
- See Also:
-
setBundleVersion
-
signedTransactionInfo
-
getSignedTransactionInfo
Transaction information signed by the App Store, in JSON Web Signature (JWS) format.- Returns:
- signedTransactionInfo
- See Also:
-
setSignedTransactionInfo
-
signedRenewalInfo
-
getSignedRenewalInfo
Subscription renewal information, signed by the App Store, in JSON Web Signature (JWS) format.- Returns:
- signedRenewalInfo
- See Also:
-
setSignedRenewalInfo
-
status
-
getStatus
The status of an auto-renewable subscription as of the signedDate in the responseBodyV2DecodedPayload.- Returns:
- status
- See Also:
-
getRawStatus
- See Also:
-
setStatus
-
setRawStatus
-
consumptionRequestReason
-
getConsumptionRequestReason
The reason the customer requested the refund.- Returns:
- consumptionRequestReason
- See Also:
-
getRawConsumptionRequestReason
- See Also:
-
setConsumptionRequestReason
-
setRawConsumptionRequestReason
-
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
-