1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
/** |
4
|
|
|
* MÓDULO DE EMISIÓN ELECTRÓNICA F72X |
5
|
|
|
* UBL 2.1 |
6
|
|
|
* Version 1.0 |
7
|
|
|
* |
8
|
|
|
* Copyright 2019, Jaime Cruz |
9
|
|
|
*/ |
10
|
|
|
|
11
|
|
|
namespace F72X\Object; |
12
|
|
|
|
13
|
|
|
class PostalAddress { |
14
|
|
|
|
15
|
|
|
private $id; |
16
|
|
|
private $streetName; |
17
|
|
|
private $citySubdivisionName; |
18
|
|
|
private $cityName; |
19
|
|
|
private $countrySubentity; |
20
|
|
|
private $district; |
21
|
|
|
private $countryCode = 'PE'; |
22
|
|
|
|
23
|
|
|
public function getId() { |
24
|
|
|
return $this->id; |
25
|
|
|
} |
26
|
|
|
|
27
|
|
|
public function getStreetName() { |
28
|
|
|
return $this->streetName; |
29
|
|
|
} |
30
|
|
|
|
31
|
|
|
public function getCitySubdivisionName() { |
32
|
|
|
return $this->citySubdivisionName; |
33
|
|
|
} |
34
|
|
|
|
35
|
|
|
public function getCityName() { |
36
|
|
|
return $this->cityName; |
37
|
|
|
} |
38
|
|
|
|
39
|
|
|
public function getCountrySubentity() { |
40
|
|
|
return $this->countrySubentity; |
41
|
|
|
} |
42
|
|
|
|
43
|
|
|
public function getDistrict() { |
44
|
|
|
return $this->district; |
45
|
|
|
} |
46
|
|
|
|
47
|
|
|
public function getCountryCode() { |
48
|
|
|
return $this->countryCode; |
49
|
|
|
} |
50
|
|
|
|
51
|
|
|
public function setId($id) { |
52
|
|
|
$this->id = $id; |
53
|
|
|
return $this; |
54
|
|
|
} |
55
|
|
|
|
56
|
|
|
public function setStreetName($streetName) { |
57
|
|
|
$this->streetName = $streetName; |
58
|
|
|
return $this; |
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
public function setCitySubdivisionName($citySubdivisionName) { |
62
|
|
|
$this->citySubdivisionName = $citySubdivisionName; |
63
|
|
|
return $this; |
64
|
|
|
} |
65
|
|
|
|
66
|
|
|
public function setCityName($cityName) { |
67
|
|
|
$this->cityName = $cityName; |
68
|
|
|
return $this; |
69
|
|
|
} |
70
|
|
|
|
71
|
|
|
public function setCountrySubentity($countrySubentity) { |
72
|
|
|
$this->countrySubentity = $countrySubentity; |
73
|
|
|
return $this; |
74
|
|
|
} |
75
|
|
|
|
76
|
|
|
public function setDistrict($district) { |
77
|
|
|
$this->district = $district; |
78
|
|
|
return $this; |
79
|
|
|
} |
80
|
|
|
|
81
|
|
|
public function setCountryCode($countryCode) { |
82
|
|
|
$this->countryCode = $countryCode; |
83
|
|
|
return $this; |
84
|
|
|
} |
85
|
|
|
|
86
|
|
|
} |
87
|
|
|
|