File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -90,6 +90,12 @@ abstract class Base extends BaseDataType
9090 */
9191 protected $ _isSubobject = null ;
9292
93+ /**
94+ * @var string
95+ * The schema version
96+ */
97+ protected $ _schemaVersion = '1.0 ' ;
98+
9399 /**
94100 * @var boolean
95101 * Render the schema version or not
@@ -140,7 +146,7 @@ public function toXML(\XMLWriter $xmlWriter = null)
140146
141147 if ($ this ->_displaySchemaVersion )
142148 {
143- $ xmlWriter ->writeAttribute ('schemaVersion ' , ' 1.0 ' );
149+ $ xmlWriter ->writeAttribute ('schemaVersion ' , $ this -> _schemaVersion );
144150 }
145151
146152 if (null !== $ this ->_xmlNodeName )
Original file line number Diff line number Diff line change @@ -48,6 +48,12 @@ class ShipmentRequest extends Base
4848 */
4949 protected $ _serviceXSD = 'ShipmentRequest.xsd ' ;
5050
51+ /**
52+ * @var string
53+ * The schema version
54+ */
55+ protected $ _schemaVersion = '1.0 ' ;
56+
5157 /**
5258 * Display the schema version
5359 * @var boolean
@@ -178,7 +184,12 @@ class ShipmentRequest extends Base
178184 'type ' => 'string ' ,
179185 'required ' => false ,
180186 'subobject ' => false ,
181- ),
187+ ),
188+ 'NumberOfArchiveDoc ' => array (
189+ 'type ' => 'integer ' ,
190+ 'required ' => false ,
191+ 'subobject ' => false ,
192+ ),
182193 'Label ' => array (
183194 'type ' => 'Label ' ,
184195 'required ' => false ,
You can’t perform that action at this time.
0 commit comments