fpt-akainsights-react-native
Version:
React Native Plugin for the akaInsights Javascript SDK
32 lines (31 loc) • 1.07 kB
TypeScript
import { PurchaseSourceTypeEnum } from '../enums';
export interface ItemPurchase {
readonly purchaseId: string;
readonly purchaseStatus: string;
readonly purchaseSourceType?: PurchaseSourceTypeEnum;
readonly productId: string;
readonly variantId?: string;
readonly title: string;
readonly brand?: string;
readonly categoryId?: string;
readonly price: number;
readonly priceLocalCurrency?: number;
readonly discountPercentage?: number;
readonly discountValue?: number;
readonly originalPrice?: number;
readonly originalPriceLocalCurrency?: number;
readonly quantity: number;
readonly totalPrice: number;
readonly totalPriceWithoutTax?: number;
readonly tags?: string;
readonly category1?: string;
readonly category2?: string;
readonly category3?: string;
readonly categoriesPath?: string;
readonly categoriesIds?: any[];
readonly language?: string;
readonly location?: string;
readonly domain?: string;
readonly userId?: string;
readonly campaignId?: string;
}