for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace MrPrompt\CaixaEconomicaFederal\Shipment\Partial;
use MrPrompt\ShipmentCommon\Base\Sequence;
/**
* File footer
*
* @author Thiago Paes <[email protected]>
*/
class Footer
{
* Sequence number
* @var Sequence
private $sequence;
* Total of new charges
* @var int
private $total;
* Sum of new charges
private $sum;
* @param int $totalCharges
* @param int $sumCharges
* @param Sequence $sequence
public function __construct($totalCharges = 0, $sumCharges = 0, Sequence $sequence)
$this->total = $totalCharges;
$this->sum = $sumCharges;
$this->sequence = $sequence;
}
* @return Sequence
public function getSequence()
return $this->sequence;
public function setSequence($sequence)
* @return int
public function getTotal()
return $this->total;
* @param int $total
public function setTotal($total)
$this->total = $total;
public function getSum()
return $this->sum;
* @param int $sum
public function setSum($sum)
$this->sum = $sum;