originalPurchaseDateMs property

  1. @JsonKey(name: 'original_purchase_date_ms')
String? originalPurchaseDateMs
final

The time of the original in-app purchase, in UNIX epoch time format, in milliseconds. For an auto-renewable subscription, this value indicates the date of the subscription's initial purchase. The original purchase date applies to all product types and remains the same in all transactions for the same product ID. This value corresponds to the original transaction’s transactionDate property in StoreKit. Use this time format for processing dates.

Implementation

@JsonKey(name: 'original_purchase_date_ms')
final String? originalPurchaseDateMs;