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 'typeResponse.php';
10: require_once 'typeOrderVerifications.php';
11:
12: /*
13: <xs:complexType name="getOrderStateResponse">
14: <xs:complexContent>
15: <xs:extension base="tns:response">
16: <xs:sequence>
17: <xs:element name="verifications" type="tns:orderVerifications"/>
18: <xs:element name="lastUpdateDate" type="xs:dateTime"/>
19: <xs:element name="orderStatus" type="tns:certificationRequestStateTypeEnum"/>
20: </xs:sequence>
21: </xs:extension>
22: </xs:complexContent>
23: </xs:complexType>
24: */
25:
26: /**
27: * This class represents the getOrderStateResponse WSDL type.
28: *
29: * It is an extension to the PartnerAPITypeResponse class.
30: *
31: * @method PartnerAPITypeGetOrderStateResponse setVerifications(PartnerAPITypeOrderVerifications $value) Sets the verifications element.
32: * @method PartnerAPITypeOrderVerifications getVerifications() Gets the verifications element or NULL.
33: * @property PartnerAPITypeOrderVerifications $verifications Gets the verifications element or NULL.
34: *
35: * @method PartnerAPITypeGetOrderStateResponse setLastUpdateDate(string $value) Sets the lastUpdateDate element.
36: * @method string getLastUpdateDate() Gets the lastUpdateDate element or NULL.
37: * @property string $lastUpdateDate Gets the lastUpdateDate element or NULL.
38: *
39: * @method PartnerAPITypeGetOrderStateResponse setOrderStatus(string $value) Sets the orderStatus element.
40: * @method string getOrderStatus() Gets the orderStatus element or NULL.
41: * @property string $orderStatus Gets the orderStatus element or NULL.
42: *
43: * @package types
44: */
45: class PartnerAPITypeGetOrderStateResponse extends PartnerAPITypeResponse {
46:
47: protected function initData() {
48: $p = parent::initData();
49: $n = array(
50: 'verifications' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrderVerifications', 'nillable' => FALSE),
51: 'lastUpdateDate' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'orderStatus' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
53: );
54: $n = array_merge($p, $n);
55: return $n;
56: }
57:
58:
59: }
60: