PendingRenewalInfo class

Annotations
  • @JsonSerializable()

Constructors

PendingRenewalInfo({String? expirationIntent, String? gracePeriodExpiresDate, String? gracePeriodExpiresDateMs, String? gracePeriodExpiresDatePst, String? autoRenewProductId, String? isInBillingRetryPeriod, String? offerCodeRefName, String? productId, String? originalTransactionId, String? priceConsentStatus, String? promotionalOfferId, String? autoRenewStatus})
PendingRenewalInfo.fromJson(Map<String, dynamic> json)
factory

Properties

autoRenewProductId String?
The value for this key corresponds to the productIdentifier property of the product that the customer’s subscription renews.
final
autoRenewStatus String?
The current renewal status for the auto-renewable subscription. See auto_renew_status for more information.
final
expirationIntent String?
The reason a subscription expired. This field is only present for a receipt that contains an expired auto-renewable subscription.
final
gracePeriodExpiresDate String?
The time at which the grace period for subscription renewals expires, in a date-time format similar to the ISO 8601.
final
gracePeriodExpiresDateMs String?
The time at which the grace period for subscription renewals expires, in UNIX epoch time format, in milliseconds. This key is only present for apps that have Billing Grace Period enabled and when the user experiences a billing error at the time of renewal. Use this time format for processing dates.
final
gracePeriodExpiresDatePst String?
The time at which the grace period for subscription renewals expires, in the Pacific Time zone.
final
hashCode int
The hash code for this object.
no setterinherited
isInBillingRetryPeriod String?
A flag that indicates Apple is attempting to renew an expired subscription automatically. This field is only present if an auto-renewable subscription is in the billing retry state. See is_in_billing_retry_period for more information.
final
offerCodeRefName String?
The reference name of a subscription offer that you configured in App Store Connect. This field is present when a customer redeemed a subscription offer code. For more information, see offer_code_ref_name.
final
originalTransactionId String?
The transaction identifier of the original purchase.
final
priceConsentStatus String?
The price consent status for a subscription price increase. This field is only present if the customer was notified of the price increase. The default value is "0" and changes to "1" if the customer consents.
final
productId String?
The unique identifier of the product purchased. You provide this value when creating the product in App Store Connect, and it corresponds to the productIdentifier property of the SKPayment object stored in the transaction's payment property.
final
promotionalOfferId String?
The identifier of the promotional offer for an auto-renewable subscription that the user redeemed. You provide this value in the Promotional Offer Identifier field when you create the promotional offer in App Store Connect.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited