react-native-qonversion
Version:
Qonversion provides full in-app purchases infrastructure, so you do not need to build your own server for receipt validation. Implement in-app subscriptions, validate user receipts, check subscription status, and provide access to your app features and co
15 lines (14 loc) • 720 B
TypeScript
import Product from "./Product";
import { PurchaseUpdatePolicy } from "./enums";
import PromotionalOffer from './PromotionalOffer';
declare class PurchaseOptions {
readonly offerId: string | null;
readonly applyOffer: boolean;
readonly oldProduct: Product | null;
readonly updatePolicy: PurchaseUpdatePolicy | null;
readonly contextKeys: string[] | null;
readonly quantity: number;
readonly promotionalOffer: PromotionalOffer | null;
constructor(offerId: string | null, applyOffer: boolean, oldProduct: Product | null, updatePolicy: PurchaseUpdatePolicy | null, contextKeys: string[] | null, quantity: number, promotionalOffer: PromotionalOffer | null);
}
export default PurchaseOptions;