for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Created by PhpStorm.
* User: Giansalex
* Date: 15/07/2017
* Time: 22:00
*/
namespace Greenter\Model\Voided;
use Greenter\Xml\Validator\VoidedDetailValidator;
use Symfony\Component\Validator\Constraints as Assert;
* Class VoidedDetail
* @package Greenter\Model\Voided
class VoidedDetail
{
use VoidedDetailValidator;
* @Assert\NotBlank()
* @Assert\Length(max="2")
* @var string
private $tipoDoc;
* @Assert\Length(max="4")
private $serie;
* @Assert\Length(max="8")
private $correlativo;
* @Assert\Length(max="100")
private $desMotivoBaja;
* @return string
public function getTipoDoc()
return $this->tipoDoc;
}
* @param string $tipoDoc
* @return VoidedDetail
public function setTipoDoc($tipoDoc)
$this->tipoDoc = $tipoDoc;
return $this;
public function getSerie()
return $this->serie;
* @param string $serie
public function setSerie($serie)
$this->serie = $serie;
public function getCorrelativo()
return $this->correlativo;
* @param string $correlativo
public function setCorrelativo($correlativo)
$this->correlativo = $correlativo;
public function getDesMotivoBaja()
return $this->desMotivoBaja;
* @param string $desMotivoBaja
public function setDesMotivoBaja($desMotivoBaja)
$this->desMotivoBaja = $desMotivoBaja;