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="orderVerification">
13: <xs:sequence>
14: <xs:element name="type" type="tns:orderVerificationType"/>
15: <xs:element name="state" type="tns:orderVerificationState"/>
16: <xs:element name="expireDate" type="xs:dateTime"/>
17: </xs:sequence>
18: </xs:complexType>
19: */
20:
21: /**
22: * This class represents the orderVerification WSDL type.
23: *
24: * It is based on the PartnerAPIType class and derives properties and methods from that class.
25: *
26: * @method PartnerAPITypeOrderVerification setType(string $value) Sets the type element.
27: * @method string getType() Gets the type element.
28: * @property string $type Gets the type element.
29: *
30: * @method PartnerAPITypeOrderVerification setState(string $value) Sets the state element.
31: * @method string getState() Gets the state element or NULL.
32: * @property string $state Gets the state element or NULL.
33: *
34: * @method PartnerAPITypeOrderVerification setExpireDate(string $value) Sets the expireDate element.
35: * @method string getExpireDate() Gets the expireDate element.
36: * @property string $expireDate Gets the expireDate element.
37: *
38: * @package types
39: */
40: class PartnerAPITypeOrderVerification extends PartnerAPIType {
41:
42: protected function initData() {
43: $n = array(
44: 'type' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
45: 'state' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
46: 'expireDate' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
47: );
48: return $n;
49: }
50:
51:
52: }
53: