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: require_once 'typeDocuments.php';
11:
12: /*
13: <xs:complexType name="verifyOrderParameters">
14: <xs:sequence>
15: <xs:element name="note" type="xs:string"/>
16: <xs:element name="orderID" type="xs:string"/>
17: <xs:element minOccurs="0" name="documents" type="tns:documents"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the verifyOrderParameters WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeVerifyOrderParameters setNote(string $value) Sets the note element.
28: * @method string getNote() Gets the note element.
29: * @property string $note Gets the note element.
30: *
31: * @method PartnerAPITypeVerifyOrderParameters setOrderID(string $value) Sets the orderID element.
32: * @method string getOrderID() Gets the orderID element.
33: * @property string $orderID Gets the orderID element.
34: *
35: * @method PartnerAPITypeVerifyOrderParameters setDocuments(PartnerAPITypeDocuments $value) Sets the documents element.
36: * @method PartnerAPITypeDocuments getDocuments() Gets the documents element or NULL.
37: * @property PartnerAPITypeDocuments $documents Gets the documents element or NULL.
38: *
39: * @package types
40: */
41: class PartnerAPITypeVerifyOrderParameters extends PartnerAPIType {
42:
43: protected function initData() {
44: $n = array(
45: 'note' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
46: 'orderID' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
47: 'documents' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeDocuments', 'nillable' => FALSE)
48: );
49: return $n;
50: }
51:
52:
53: }
54: