fpt-akainsights-react-native
Version:
React Native Plugin for the akaInsights Javascript SDK
33 lines (32 loc) • 1.06 kB
TypeScript
import { PageTypeEnum } from '../enums';
export interface ICartUpdate {
readonly action: string;
readonly buttonCopy?: string;
readonly pageType?: PageTypeEnum;
readonly productId: string;
readonly variantId: string;
readonly title?: string;
readonly brand?: string;
readonly price: number;
readonly priceLocalCurrency?: number;
readonly discountPercentage?: number;
readonly discountValue?: number;
readonly originalPrice?: number;
readonly productList?: object[];
readonly productIds?: number[];
readonly totalQuantity: number;
readonly totalPrice: number;
readonly totalPriceWithoutTax?: number;
readonly tags?: string;
readonly category1?: string;
readonly category2?: string;
readonly category3?: string;
readonly categoriesPath?: string;
readonly categoryId?: string;
readonly categoriesIds?: string;
readonly language?: string;
readonly location?: string;
readonly domain?: string;
readonly userId?: string;
readonly campaignId?: string;
}