fpt-akainsights-react-native
Version:
React Native Plugin for the akaInsights Javascript SDK
30 lines (29 loc) • 1.03 kB
TypeScript
import { PaymentTypeEnum, ShippingTypeEnum } from '../enums';
export interface ICheckout {
readonly stepNumber?: string;
readonly stepTitle?: string;
readonly productList?: object[];
readonly productIds: string[];
readonly paymentType?: PaymentTypeEnum;
readonly totalPrice: number;
readonly totalPriceWithoutTax?: number;
readonly totalQuantity: number;
readonly localCurrency?: string;
readonly taxValue?: string;
readonly taxPercentage?: string;
readonly shippingType?: ShippingTypeEnum;
readonly shippingCompany?: string;
readonly shippingCost?: number;
readonly shippingCountry?: string;
readonly shippingCity?: string;
readonly voucherCode?: string;
readonly voucherPercentage?: number;
readonly voucherValue?: string;
readonly variantList?: object[];
readonly variantIds?: string[];
readonly language?: string;
readonly location?: string;
readonly domain?: string;
readonly userId?: string;
readonly campaignId?: string;
}