PHP code example of itrends / taecel
1. Go to this page and download the library: Download itrends/taecel library . Choose the download type require .
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
itrends / taecel example snippets
public function toArray()
{
return [
'bolsa' => $this->getBolsa(),
'bolsa_id' => $this->getBolsaId(),
'categoria' => $this->getCategoria(),
'categoria_id' => $this->getCategoriaId(),
'carrier' => $this->getCarrier(),
'carrier_id' => $this->getCarrierId(),
'codigo' => $this->getCodigo(),
'monto' => $this->getMonto(),
'unidades' => $this->getUnidades(),
'vigencia' => $this->getVigencia(),
'descripcion' => $this->getDescripcion()
];
}
public function toArray()
{
return [
'id' => $this->getId(),
'nombre' => $this->getNombre(),
'bolsa_id' => $this->getBolsaId(),
'categoria' => $this->getCategoria(),
'categoria_id' => $this->getCategoriaId(),
'tipo' => $this->getTipo()
];
}
public function toArray()
{
return [
'transId' => $this->getTransId(),
'fecha' => $this->getFecha(),
'carrier' => $this->getCarrier(),
'folio' => $this->getFolio(),
'status' => $this->getStatus(),
'monto' => $this->getMonto(),
'nota' => $this->getNota()
];
}
$this