# `Transaction` - class Represents an in-app purchase transaction. ## Properties
```typescript nativeObject: any ``` The native value representing the transaction. On iOS - `SKPaymentTransaction` On Android - `com.android.billingclient.api.Purchase` or `com.android.billingclient.api.PurchaseHistoryRecord` for restored transaction
```typescript state: TransactionState ``` Gets the current state of the transaction.
```typescript productId: string ``` The in-app product identifier that triggerred this transaction.
```typescript id: string ``` Gets the unique order identifier for the transaction. *Note* On Android returns null if the transaction was restored.
```typescript date: Date ``` Gets the date the product was purchased.