| Total Complexity | 10 |
| Total Lines | 87 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | class DocumentIssuer { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * The company's identification document type |
||
| 22 | * |
||
| 23 | * Default: 6 = RUC |
||
| 24 | * |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | private $idDocType = '6'; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * The company's identification document number |
||
| 31 | * |
||
| 32 | * Default: RUC Number |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | private $idDocNumber; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * The company's registration name |
||
| 40 | * |
||
| 41 | * Default: Razón Social |
||
| 42 | * |
||
| 43 | * @var string |
||
| 44 | */ |
||
| 45 | private $regName; |
||
| 46 | |||
| 47 | /** |
||
| 48 | * The company's commercial name |
||
| 49 | * |
||
| 50 | * Default: Nombre comercial |
||
| 51 | * |
||
| 52 | * @var string |
||
| 53 | */ |
||
| 54 | private $comName; |
||
| 55 | |||
| 56 | /** |
||
| 57 | * The company's postal address. |
||
| 58 | * @var PostalAddress |
||
| 59 | */ |
||
| 60 | private $postalAddress; |
||
| 61 | |||
| 62 | public function getIdDocType() { |
||
| 63 | return $this->idDocType; |
||
| 64 | } |
||
| 65 | |||
| 66 | public function getIdDocNumber() { |
||
| 67 | return $this->idDocNumber; |
||
| 68 | } |
||
| 69 | |||
| 70 | public function getRegName() { |
||
| 71 | return $this->regName; |
||
| 72 | } |
||
| 73 | |||
| 74 | public function getComName() { |
||
| 75 | return $this->comName; |
||
| 76 | } |
||
| 77 | |||
| 78 | public function getPostalAddress() { |
||
| 79 | return $this->postalAddress; |
||
| 80 | } |
||
| 81 | |||
| 82 | public function setIdDocType($idDocType) { |
||
| 83 | $this->idDocType = $idDocType; |
||
| 84 | return $this; |
||
| 85 | } |
||
| 86 | |||
| 87 | public function setIdDocNumber($idDocNumber) { |
||
| 88 | $this->idDocNumber = $idDocNumber; |
||
| 89 | return $this; |
||
| 90 | } |
||
| 91 | |||
| 92 | public function setRegName($regName) { |
||
| 95 | } |
||
| 96 | |||
| 97 | public function setComName($comName) { |
||
| 100 | } |
||
| 101 | |||
| 102 | public function setPostalAddress(PostalAddress $postalAddress) { |
||
| 103 | $this->postalAddress = $postalAddress; |
||
| 104 | return $this; |
||
| 105 | } |
||
| 106 | |||
| 107 | } |
||
| 108 |