UNPKG

fpt-akainsights-react-native

Version:

React Native Plugin for the akaInsights Javascript SDK

33 lines (32 loc) 967 B
import { PaymentTypeEnum, PurchaseSourceTypeEnum, ShippingTypeEnum } from '../enums'; export default class PurchaseRequestDto { purchase_id: string; purchase_status: string; purchase_source_type?: PurchaseSourceTypeEnum; purchase_source_name?: string; total_item: number; product_ids: string[]; total_price: number; total_price_without_tax?: number; total_price_local_currency?: number; local_currency?: string; total_quantity: number; payment_type: PaymentTypeEnum; shipping_type?: ShippingTypeEnum; shipping_company?: string; shipping_cost?: number; shipping_country?: string; shipping_city?: string; tax_value?: string; voucher_code?: string; voucher_percentage?: string; voucher_value?: string; language?: string; location?: string; domain?: string; created_at: Date; private device_token; user_id?: string; campaign_id?: string; constructor(); }