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 'typeResponseHeader.php';
11:
12: /*
13: <xs:complexType name="response">
14: <xs:sequence>
15: <xs:element name="responseHeader" type="tns:responseHeader"/>
16: </xs:sequence>
17: </xs:complexType>
18: */
19:
20: /**
21: * This class represents the response WSDL type.
22: *
23: * It is based on the PartnerAPIType class and derives properties and methods from that class.
24: *
25: * @method PartnerAPITypeResponse setResponseHeader(PartnerAPITypeResponseHeader $value) Sets the responseHeader element.
26: * @method PartnerAPITypeResponseHeader getResponseHeader() Gets the responseHeader element.
27: * @property PartnerAPITypeResponseHeader $responseHeader Gets the responseHeader element.
28: *
29: * @package types
30: */
31: class PartnerAPITypeResponse extends PartnerAPIType {
32:
33: protected function initData() {
34: $n = array(
35: 'responseHeader' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeResponseHeader(), 'type' => 'PartnerAPITypeResponseHeader', 'nillable' => FALSE)
36: );
37: return $n;
38: }
39:
40:
41: }
42: