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="orderOption">
13: <xs:sequence>
14: <xs:element minOccurs="0" name="certificateDetails" type="xs:boolean"/>
15: <xs:element minOccurs="0" name="orderDetails" type="xs:boolean"/>
16: <xs:element minOccurs="0" name="orderStatus" type="xs:boolean"/>
17: </xs:sequence>
18: </xs:complexType>
19: */
20:
21: /**
22: * This class represents the orderOption WSDL type.
23: *
24: * It is based on the PartnerAPIType class and derives properties and methods from that class.
25: *
26: * @method PartnerAPITypeOrderOption setCertificateDetails(boolean $value) Sets the certificateDetails element.
27: * @method boolean getCertificateDetails() Gets the certificateDetails element or NULL.
28: * @property boolean $certificateDetails Gets the certificateDetails element or NULL.
29: *
30: * @method PartnerAPITypeOrderOption setOrderDetails(boolean $value) Sets the orderDetails element.
31: * @method boolean getOrderDetails() Gets the orderDetails element or NULL.
32: * @property boolean $orderDetails Gets the orderDetails element or NULL.
33: *
34: * @method PartnerAPITypeOrderOption setOrderStatus(boolean $value) Sets the orderStatus element.
35: * @method boolean getOrderStatus() Gets the orderStatus element or NULL.
36: * @property boolean $orderStatus Gets the orderStatus element or NULL.
37: *
38: * @package types
39: */
40: class PartnerAPITypeOrderOption extends PartnerAPIType {
41:
42: protected function initData() {
43: $n = array(
44: 'certificateDetails' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'boolean', 'nillable' => FALSE),
45: 'orderDetails' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'boolean', 'nillable' => FALSE),
46: 'orderStatus' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'boolean', 'nillable' => FALSE)
47: );
48: return $n;
49: }
50:
51:
52: }
53: