Package 

Class RenewalInfoIOS


  • 
    public final class RenewalInfoIOS
    
                        

    Subscription renewal information from Product.SubscriptionInfo.RenewalInfo https://developer.apple.com/documentation/storekit/product/subscriptioninfo/renewalinfo

    • Method Detail

      • getExpirationReason

         final String getExpirationReason()

        When subscription expires due to cancellation/billing issue Possible values: "VOLUNTARY", "BILLING_ERROR", "DID_NOT_AGREE_TO_PRICE_INCREASE", "PRODUCT_NOT_AVAILABLE", "UNKNOWN"

      • getGracePeriodExpirationDate

         final Double getGracePeriodExpirationDate()

        Grace period expiration date (milliseconds since epoch) When set, subscription is in grace period (billing issue but still has access)

      • getIsInBillingRetry

         final Boolean getIsInBillingRetry()

        True if subscription failed to renew due to billing issue and is retrying Note: Not directly available in RenewalInfo, available in Status

      • getPendingUpgradeProductId

         final String getPendingUpgradeProductId()

        Product ID that will be used on next renewal (when user upgrades/downgrades) If set and different from current productId, subscription will change on expiration

      • getPriceIncreaseStatus

         final String getPriceIncreaseStatus()

        User's response to subscription price increase Possible values: "AGREED", "PENDING", null (no price increase)

      • getRenewalDate

         final Double getRenewalDate()

        Expected renewal date (milliseconds since epoch) For active subscriptions, when the next renewal/charge will occur

      • getRenewalOfferId

         final String getRenewalOfferId()

        Offer ID applied to next renewal (promotional offer, subscription offer code, etc.)

      • getRenewalOfferType

         final String getRenewalOfferType()

        Type of offer applied to next renewal Possible values: "PROMOTIONAL", "SUBSCRIPTION_OFFER_CODE", "WIN_BACK", etc.