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 'typeOrganizationInfo.php';
11: require_once 'typeRequestorInfo.php';
12:
13: /*
14: <xs:complexType name="orderDetails">
15: <xs:sequence>
16: <xs:element minOccurs="0" name="organizationInfo" type="tns:organizationInfo"/>
17: <xs:element name="requestorInfo" type="tns:requestorInfo"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the orderDetails WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeOrderDetails setOrganizationInfo(PartnerAPITypeOrganizationInfo $value) Sets the organizationInfo element.
28: * @method PartnerAPITypeOrganizationInfo getOrganizationInfo() Gets the organizationInfo element or NULL.
29: * @property PartnerAPITypeOrganizationInfo $organizationInfo Gets the organizationInfo element or NULL.
30: *
31: * @method PartnerAPITypeOrderDetails setRequestorInfo(PartnerAPITypeRequestorInfo $value) Sets the requestorInfo element.
32: * @method PartnerAPITypeRequestorInfo getRequestorInfo() Gets the requestorInfo element.
33: * @property PartnerAPITypeRequestorInfo $requestorInfo Gets the requestorInfo element.
34: *
35: * @package types
36: */
37: class PartnerAPITypeOrderDetails extends PartnerAPIType {
38:
39: protected function initData() {
40: $n = array(
41: 'organizationInfo' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrganizationInfo', 'nillable' => FALSE),
42: 'requestorInfo' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeRequestorInfo(), 'type' => 'PartnerAPITypeRequestorInfo', 'nillable' => FALSE)
43: );
44: return $n;
45: }
46:
47:
48: }
49: