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 'typeCertificateDetails.php';
11: require_once 'typeOrderDetails.php';
12: require_once 'typeOrderStatus.php';
13:
14: /*
15: <xs:complexType name="order">
16: <xs:sequence>
17: <xs:element minOccurs="0" name="certificateDetails" type="tns:certificateDetails"/>
18: <xs:element minOccurs="0" name="orderDetails" type="tns:orderDetails"/>
19: <xs:element minOccurs="0" name="orderStatus" type="tns:orderStatus"/>
20: </xs:sequence>
21: <xs:attribute default="false" name="reissue" required="false" type="xs:boolean"/>
22: </xs:complexType>
23: */
24:
25: /**
26: * This class represents the order WSDL type.
27: *
28: * It is based on the PartnerAPIType class and derives properties and methods from that class.
29: *
30: * @method PartnerAPITypeOrder setReissue(boolean $value) Sets the reissue attribute.
31: * @method boolean getReissue() Gets the reissue attribute or NULL.
32: * @property boolean $reissue Gets the reissue attribute or NULL.
33: *
34: * @method PartnerAPITypeOrder setCertificateDetails(PartnerAPITypeCertificateDetails $value) Sets the certificateDetails element.
35: * @method PartnerAPITypeCertificateDetails getCertificateDetails() Gets the certificateDetails element or NULL.
36: * @property PartnerAPITypeCertificateDetails $certificateDetails Gets the certificateDetails element or NULL.
37: *
38: * @method PartnerAPITypeOrder setOrderDetails(PartnerAPITypeOrderDetails $value) Sets the orderDetails element.
39: * @method PartnerAPITypeOrderDetails getOrderDetails() Gets the orderDetails element or NULL.
40: * @property PartnerAPITypeOrderDetails $orderDetails Gets the orderDetails element or NULL.
41: *
42: * @method PartnerAPITypeOrder setOrderStatus(PartnerAPITypeOrderStatus $value) Sets the orderStatus element.
43: * @method PartnerAPITypeOrderStatus getOrderStatus() Gets the orderStatus element or NULL.
44: * @property PartnerAPITypeOrderStatus $orderStatus Gets the orderStatus element or NULL.
45: *
46: * @package types
47: */
48: class PartnerAPITypeOrder extends PartnerAPIType {
49:
50: protected function initData() {
51: $n = array(
52: 'reissue' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'boolean', 'nillable' => FALSE),
53: 'certificateDetails' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeCertificateDetails', 'nillable' => FALSE),
54: 'orderDetails' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrderDetails', 'nillable' => FALSE),
55: 'orderStatus' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrderStatus', 'nillable' => FALSE)
56: );
57: return $n;
58: }
59:
60:
61: }
62: