UNPKG

cecon-interfaces

Version:
56 lines (55 loc) 1.93 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NatipayCompanyEntity = void 0; var general_1 = require("../../../general"); var address_entity_1 = require("./address.entity"); var natipay_fee_entity_1 = require("./natipay-fee.entity"); var natipay_entity_1 = require("./natipay.entity"); var NatipayCompanyEntity = /** @class */ (function () { function NatipayCompanyEntity(data) { this.active = false; this.address = new address_entity_1.NatiapyAddressEntity(); this.containerId = ''; this.containerName = ''; this.country = 'BR'; this.createdAt = new Date(); this.currency = 'BRL'; this.doc = ''; this.docType = general_1.EDocType.CNPJ; this.email = ''; this.externalFees = []; this.fees = new natipay_fee_entity_1.NatipayFeeEntity(); this.id = ''; this.imageUrl = null; this.internationalCode = '55'; this.logoUrl = null; this.name = ''; this.natipay = new natipay_entity_1.NatipayEntity(); this.paymentProvider = null; this.phoneNumber = ''; this.pixKeys = []; this.sandbox = false; this.shortName = ''; this.sponsorFees = []; this.tags = []; this.updatedAt = new Date(); this.version = ''; /** * Valor do limite de crédito da conta (null se não houver limite) */ this.creditLimit = 0; /** * Habilita o módulo de conta assinada (venda fiado) para esta loja. */ this.tabAccountEnabled = false; if (data) { for (var key in data) { if (data.hasOwnProperty(key) && key in this) { this[key] = data[key]; } } } } return NatipayCompanyEntity; }()); exports.NatipayCompanyEntity = NatipayCompanyEntity;