UNPKG

cecon-interfaces

Version:
45 lines (44 loc) 1.55 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.PayioCompanyEntity = void 0; var general_1 = require("../../../general"); var address_entity_1 = require("./address.entity"); var natipay_credential_entity_1 = require("./natipay-credential.entity"); var PayioCompanyEntity = /** @class */ (function () { function PayioCompanyEntity(data) { this.active = false; this.address = new address_entity_1.PayioAddressEntity(); this.clientId = ''; this.clientSecret = ''; this.containerId = ''; this.country = 'BR'; this.createdAt = new Date(); this.currency = 'BRL'; this.doc = ''; this.docType = general_1.EDocType.CNPJ; this.email = ''; this.id = ''; this.ifoodMerchantId = null; this.imageUrl = null; this.internationalCode = '55'; this.logoUrl = null; this.name = ''; this.natipayCredential = new natipay_credential_entity_1.PayioCompanyNatipayCredentialEntity(); this.paymentProvider = null; this.phoneNumber = ''; this.sandbox = false; this.shortName = ''; this.tags = []; this.updatedAt = new Date(); this.version = ''; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return PayioCompanyEntity; }()); exports.PayioCompanyEntity = PayioCompanyEntity;