VerifyReceiptResponse class

Annotations
  • @JsonSerializable()

Constructors

VerifyReceiptResponse({required int status, required String? environment, bool? isRetryable, Receipt? receipt, List<ReceiptInfo>? latestReceiptInfo, String? latestReceipt, List<PendingRenewalInfo>? pendingRenewalInfo})
VerifyReceiptResponse.fromJson(Map<String, dynamic> json)
factory

Properties

environment String?
The environment for which the receipt was generated. Possible values: Sandbox, Production
final
hashCode int
The hash code for this object.
no setterinherited
isRetryable bool?
An indicator that an error occurred during the request. A value of 1 indicates a temporary issue; retry validation for this receipt at a later time. A value of 0 indicates an unresolvable issue; do not retry validation for this receipt. Only applicable to status codes 21100-21199.
final
latestReceipt String?
The latest Base64 encoded app receipt. Only returned for receipts that contain auto-renewable subscriptions.
final
latestReceiptInfo List<ReceiptInfo>?
An array that contains all in-app purchase transactions. This excludes transactions for consumable products that have been marked as finished by your app. Only returned for receipts that contain auto-renewable subscriptions.
final
pendingRenewalInfo List<PendingRenewalInfo>?
In the JSON file, an array where each element contains the pending renewal information for each auto-renewable subscription identified by the product_id. Only returned for app receipts that contain auto-renewable subscriptions.
final
receipt Receipt?
A JSON representation of the receipt that was sent for verification.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status int
Either 0 if the receipt is valid, or a status code if there is an error. The status code reflects the status of the app receipt as a whole. See status for possible status codes and descriptions.
final

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