1 | <?php |
||
22 | class StartRecordFormat { |
||
23 | |||
24 | /** |
||
25 | * Currency. |
||
26 | * |
||
27 | * @var string|null |
||
28 | */ |
||
29 | private $currency; |
||
30 | |||
31 | /** |
||
32 | * Date of file. |
||
33 | * |
||
34 | * @var DateTime|null |
||
35 | */ |
||
36 | private $dateFile; |
||
37 | |||
38 | /** |
||
39 | * Facility number |
||
40 | * |
||
41 | * @var int|null |
||
42 | */ |
||
43 | private $facilityNumber; |
||
44 | |||
45 | /** |
||
46 | * Number of records. |
||
47 | * |
||
48 | * @var int|null |
||
49 | */ |
||
50 | private $numberRecords; |
||
51 | |||
52 | /** |
||
53 | * Version of record structure. |
||
54 | * |
||
55 | * @var int|null |
||
56 | */ |
||
57 | private $versionRecordStructure; |
||
58 | |||
59 | /** |
||
60 | * Constructor. |
||
61 | */ |
||
62 | public function __construct() { |
||
65 | |||
66 | /** |
||
67 | * Get the currency. |
||
68 | * |
||
69 | * @return string|null Returns the currency. |
||
70 | */ |
||
71 | public function getCurrency(): ?string { |
||
74 | |||
75 | /** |
||
76 | * Get the date of file. |
||
77 | * |
||
78 | * @return DateTime|null Returns the date of file. |
||
79 | */ |
||
80 | public function getDateFile(): ?DateTime { |
||
83 | |||
84 | /** |
||
85 | * Get the facility number. |
||
86 | * |
||
87 | * @return int|null Returns the facility number. |
||
88 | */ |
||
89 | public function getFacilityNumber(): ?int { |
||
92 | |||
93 | /** |
||
94 | * Get the number of records. |
||
95 | * |
||
96 | * @return int|null Returns the number of records. |
||
97 | */ |
||
98 | public function getNumberRecords(): ?int { |
||
101 | |||
102 | /** |
||
103 | * Get the version of record structure. |
||
104 | * |
||
105 | * @return int|null Returns the version of record structure. |
||
106 | */ |
||
107 | public function getVersionRecordStructure(): ?int { |
||
110 | |||
111 | /** |
||
112 | * Set the currency. |
||
113 | * |
||
114 | * @param string|null $currency The currency. |
||
115 | * @return StartRecordFormat Returns this start record format. |
||
116 | */ |
||
117 | public function setCurrency(?string $currency): StartRecordFormat { |
||
121 | |||
122 | /** |
||
123 | * Set the date of file. |
||
124 | * |
||
125 | * @param DateTime|null $dateFile The date of file. |
||
126 | * @return StartRecordFormat Returns this start record format. |
||
127 | */ |
||
128 | public function setDateFile(?DateTime $dateFile): StartRecordFormat { |
||
132 | |||
133 | /** |
||
134 | * Set the facility number. |
||
135 | * |
||
136 | * @param int|null $facilityNumber The facility number. |
||
137 | * @return StartRecordFormat Returns this start record format. |
||
138 | */ |
||
139 | public function setFacilityNumber(?int $facilityNumber): StartRecordFormat { |
||
143 | |||
144 | /** |
||
145 | * Set the number of records. |
||
146 | * |
||
147 | * @param int|null $numberRecords The number of records. |
||
148 | * @return StartRecordFormat Returns this start record format. |
||
149 | */ |
||
150 | public function setNumberRecords(?int $numberRecords): StartRecordFormat { |
||
154 | |||
155 | /** |
||
156 | * Set the version of record structure. |
||
157 | * |
||
158 | * @param int|null $versionRecordStructure The version of record structure. |
||
159 | * @return StartRecordFormat Returns this start record format. |
||
160 | */ |
||
161 | public function setVersionRecordStructure(?int $versionRecordStructure): StartRecordFormat { |
||
165 | } |
||
166 |