Package com.apple.itunes.storekit.model
Class JWSRenewalInfoDecodedPayload
java.lang.Object
com.apple.itunes.storekit.model.JWSRenewalInfoDecodedPayload
- All Implemented Interfaces:
DecodedSignedData
A decoded payload containing subscription renewal information for an auto-renewable subscription.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddEligibleWinBackOfferId
(String eligibleWinBackOfferId) autoRenewProductId
(String autoRenewProductId) autoRenewStatus
(AutoRenewStatus autoRenewStatus) eligibleWinBackOfferIds
(List<String> eligibleWinBackOfferIds) environment
(Environment environment) boolean
expirationIntent
(ExpirationIntent expirationIntent) The product identifier of the product that will renew at the next billing period.The renewal status of the auto-renewable subscription.The currency code for the renewalPrice of the subscription.An array of win-back offer identifiers that a customer is eligible to redeem, which sorts the identifiers to present the better offers first.The server environment, either sandbox or production.The reason the subscription expired.The time when the billing grace period for subscription renewals expires.A Boolean value that indicates whether the App Store is attempting to automatically renew an expired subscription.The payment mode of the discount offer.The identifier that contains the promo code or the promotional offer identifier.The type of the subscription offer.The original transaction identifier of a purchase.The status that indicates whether the auto-renewable subscription is subject to a price increase.The unique identifier for the product, that you create in App Store Connect.The earliest start date of a subscription in a series of auto-renewable subscription purchases that ignores all lapses of paid service shorter than 60 days.The UNIX time, in milliseconds, when the most recent auto-renewable subscription purchase expires.The renewal price, in milliunits, of the auto-renewable subscription that renews at the next billing period.The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.Fields that are not recognized for this objectgracePeriodExpiresDate
(Long gracePeriodExpiresDate) int
hashCode()
isInBillingRetryPeriod
(Boolean isInBillingRetryPeriod) offerDiscountType
(OfferDiscountType offerDiscountType) offerIdentifier
(String offerIdentifier) originalTransactionId
(String originalTransactionId) priceIncreaseStatus
(PriceIncreaseStatus priceIncreaseStatus) recentSubscriptionStartDate
(Long recentSubscriptionStartDate) renewalDate
(Long renewalDate) renewalPrice
(Long renewalPrice) void
setAutoRenewProductId
(String autoRenewProductId) void
setAutoRenewStatus
(AutoRenewStatus autoRenewStatus) void
setCurrency
(String currency) void
setEligibleWinBackOfferIds
(List<String> eligibleWinBackOfferIds) void
setEnvironment
(Environment environment) void
setExpirationIntent
(ExpirationIntent expirationIntent) void
setGracePeriodExpiresDate
(Long gracePeriodExpiresDate) void
setIsInBillingRetryPeriod
(Boolean isInBillingRetryPeriod) void
setOfferDiscountType
(OfferDiscountType offerDiscountType) void
setOfferIdentifier
(String offerIdentifier) void
setOfferType
(OfferType offerType) void
setOriginalTransactionId
(String originalTransactionId) void
setPriceIncreaseStatus
(PriceIncreaseStatus priceIncreaseStatus) void
setProductId
(String productId) void
setRawAutoRenewStatus
(Integer rawAutoRenewStatus) void
setRawEnvironment
(String rawEnvironment) void
setRawExpirationIntent
(Integer rawExpirationIntent) void
setRawOfferDiscountType
(String rawOfferDiscountType) void
setRawOfferType
(Integer rawOfferType) void
setRawPriceIncreaseStatus
(Integer rawPriceIncreaseStatus) void
setRecentSubscriptionStartDate
(Long recentSubscriptionStartDate) void
setRenewalDate
(Long renewalDate) void
setRenewalPrice
(Long renewalPrice) void
setSignedDate
(Long signedDate) void
setUnknownFields
(Map<String, Object> unknownFields) signedDate
(Long signedDate) toString()
unknownFields
(Map<String, Object> unknownFields)
-
Constructor Details
-
JWSRenewalInfoDecodedPayload
public JWSRenewalInfoDecodedPayload()
-
-
Method Details
-
expirationIntent
-
getExpirationIntent
The reason the subscription expired.- Returns:
- expirationIntent
- See Also:
-
getRawExpirationIntent
- See Also:
-
setExpirationIntent
-
setRawExpirationIntent
-
originalTransactionId
-
getOriginalTransactionId
The original transaction identifier of a purchase.- Returns:
- originalTransactionId
- See Also:
-
setOriginalTransactionId
-
autoRenewProductId
-
getAutoRenewProductId
The product identifier of the product that will renew at the next billing period.- Returns:
- autoRenewProductId
- See Also:
-
setAutoRenewProductId
-
productId
-
getProductId
The unique identifier for the product, that you create in App Store Connect.- Returns:
- productId
- See Also:
-
setProductId
-
autoRenewStatus
-
getAutoRenewStatus
The renewal status of the auto-renewable subscription.- Returns:
- autoRenewStatus
- See Also:
-
getRawAutoRenewStatus
- See Also:
-
setAutoRenewStatus
-
setRawAutoRenewStatus
-
isInBillingRetryPeriod
-
getIsInBillingRetryPeriod
A Boolean value that indicates whether the App Store is attempting to automatically renew an expired subscription.- Returns:
- isInBillingRetryPeriod
- See Also:
-
setIsInBillingRetryPeriod
-
priceIncreaseStatus
-
getPriceIncreaseStatus
The status that indicates whether the auto-renewable subscription is subject to a price increase.- Returns:
- priceIncreaseStatus
- See Also:
-
getRawPriceIncreaseStatus
- See Also:
-
setPriceIncreaseStatus
-
setRawPriceIncreaseStatus
-
gracePeriodExpiresDate
-
getGracePeriodExpiresDate
The time when the billing grace period for subscription renewals expires.- Returns:
- gracePeriodExpiresDate
- See Also:
-
setGracePeriodExpiresDate
-
offerType
-
getOfferType
The type of the subscription offer.- Returns:
- offerType
- See Also:
-
getRawOfferType
- See Also:
-
setOfferType
-
setRawOfferType
-
offerIdentifier
-
getOfferIdentifier
The identifier that contains the promo code or the promotional offer identifier.- Returns:
- offerIdentifier
- See Also:
-
setOfferIdentifier
-
signedDate
-
getSignedDate
The UNIX time, in milliseconds, that the App Store signed the JSON Web Signature data.- Specified by:
getSignedDate
in interfaceDecodedSignedData
- Returns:
- signedDate
- See Also:
-
setSignedDate
-
environment
-
getEnvironment
The server environment, either sandbox or production.- Returns:
- environment
- See Also:
-
getRawEnvironment
- See Also:
-
setEnvironment
-
setRawEnvironment
-
recentSubscriptionStartDate
-
getRecentSubscriptionStartDate
The earliest start date of a subscription in a series of auto-renewable subscription purchases that ignores all lapses of paid service shorter than 60 days.- Returns:
- recentSubscriptionStartDate
- See Also:
-
setRecentSubscriptionStartDate
-
renewalDate
-
getRenewalDate
The UNIX time, in milliseconds, when the most recent auto-renewable subscription purchase expires.- Returns:
- renewalDate
- See Also:
-
setRenewalDate
-
renewalPrice
-
getRenewalPrice
The renewal price, in milliunits, of the auto-renewable subscription that renews at the next billing period.- Returns:
- renewalPrice
- See Also:
-
setRenewalPrice
-
currency
-
getCurrency
The currency code for the renewalPrice of the subscription.- Returns:
- currency
- See Also:
-
setCurrency
-
offerDiscountType
-
getOfferDiscountType
The payment mode of the discount offer.- Returns:
- offerDiscountType
- See Also:
-
getRawOfferDiscountType
- See Also:
-
setOfferDiscountType
-
setRawOfferDiscountType
-
eligibleWinBackOfferIds
-
addEligibleWinBackOfferId
-
getEligibleWinBackOfferIds
An array of win-back offer identifiers that a customer is eligible to redeem, which sorts the identifiers to present the better offers first.- Returns:
- eligibleWinBackOfferIds
- See Also:
-
setEligibleWinBackOfferIds
-
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
-