UNPKG

cordova-plugin-qonversion

Version:
21 lines (20 loc) 1.11 kB
import { EntitlementSource, EntitlementRenewState, EntitlementGrantType } from "./enums"; import { Transaction } from "./Transaction"; export declare class Entitlement { id: string; productId: string; isActive: boolean; renewState: EntitlementRenewState; source: EntitlementSource; startedDate: Date; renewsCount: number; grantType: EntitlementGrantType; transactions: Array<Transaction>; expirationDate?: Date; trialStartDate?: Date; firstPurchaseDate?: Date; lastPurchaseDate?: Date; autoRenewDisableDate?: Date; lastActivatedOfferCode?: string; constructor(id: string, productId: string, isActive: boolean, renewState: EntitlementRenewState, source: EntitlementSource, startedTimestamp: number, renewsCount: number, grantType: EntitlementGrantType, transactions: Array<Transaction>, expirationTimestamp: number | undefined, trialStartTimestamp: number | undefined, firstPurchaseTimestamp: number | undefined, lastPurchaseTimestamp: number | undefined, autoRenewDisableTimestamp: number | undefined, lastActivatedOfferCode: string | undefined); }