UNPKG

cordova-plugin-qonversion

Version:
15 lines (14 loc) 808 B
import { TransactionEnvironment, TransactionOwnershipType, TransactionType } from "./enums"; export declare class Transaction { originalTransactionId: string; transactionId: string; transactionDate: Date; environment: TransactionEnvironment; ownershipType: TransactionOwnershipType; type: TransactionType; expirationDate?: Date; transactionRevocationDate?: Date; offerCode?: string; promoOfferId?: string; constructor(originalTransactionId: string, transactionId: string, transactionTimestamp: number, environment: TransactionEnvironment, ownershipType: TransactionOwnershipType, type: TransactionType, expirationTimestamp: number | undefined, transactionRevocationTimestamp: number | undefined, offerCode: string | undefined, promoOfferId: string | undefined); }