1: <?php
2: /**
3: * Partner API Library
4: *
5: * @copyright Copyright (c) 2020 Asseco Data Systems SA
6: * @license license.txt
7: */
8:
9: require_once 'type.php';
10:
11: /*
12: <xs:complexType name="removeSerialNumbers">
13: <xs:sequence>
14: <xs:element maxOccurs="unbounded" name="serialNumber" type="xs:string"/>
15: </xs:sequence>
16: </xs:complexType>
17: */
18:
19: /**
20: * This class represents the removeSerialNumbers WSDL type.
21: *
22: * It is based on the PartnerAPIType class and derives properties and methods from that class.
23: *
24: * @method PartnerAPITypeRemoveSerialNumbers setSerialNumber(string $value) Sets the serialNumber element. This method removes all previously added serialNumber elements and creates a new set of serialNumber elements.
25: * @method PartnerAPITypeRemoveSerialNumbers addSerialNumber(string $value) Adds a new serialNumber element to the existing set.
26: * @method string|string[] getSerialNumber() Gets the serialNumber element. If there is only one element, it will be returned, otherwise an array of string values will be returned.
27: * @property string|string[] $serialNumber Gets the serialNumber element. If there is only one element, it will be returned, otherwise an array of string values will be returned.
28: *
29: * @package types
30: */
31: class PartnerAPITypeRemoveSerialNumbers extends PartnerAPIType {
32:
33: protected function initData() {
34: $n = array(
35: 'serialNumber' => array('min' => 1, 'max' => NULL, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
36: );
37: return $n;
38: }
39:
40:
41: }
42: