UNPKG

fpt-akainsights-react-native

Version:

React Native Plugin for the akaInsights Javascript SDK

20 lines (19 loc) 691 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var enums_1 = require("../enums"); var DeviceInfo_1 = require("../helpers/DeviceInfo"); var PurchaseRequestDto = /** @class */ (function () { function PurchaseRequestDto() { this.device_token = DeviceInfo_1.getDeviceToken(); this.purchase_id = ''; this.purchase_status = ''; this.total_item = 0; this.product_ids = []; this.total_price = 0.0; this.total_quantity = 0; this.payment_type = enums_1.PaymentTypeEnum.BANK_TRANSFER; this.created_at = new Date(); } return PurchaseRequestDto; }()); exports.default = PurchaseRequestDto;