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 'typeRequest.php';
10: require_once 'typeSanApprover.php';
11: require_once 'typeOrderParameters.php';
12: require_once 'typeOrganizationInfo.php';
13: require_once 'typeRequestorInfo.php';
14: require_once 'typeSanEntries.php';
15:
16: /*
17: <xs:complexType name="orderRequest">
18: <xs:complexContent>
19: <xs:extension base="tns:request">
20: <xs:sequence>
21: <xs:element minOccurs="0" name="SANApprover" type="tns:sanApprover"/>
22: <xs:element name="orderParameters" type="tns:orderParameters"/>
23: <xs:element minOccurs="0" name="organizationInfo" type="tns:organizationInfo"/>
24: <xs:element name="requestorInfo" type="tns:requestorInfo"/>
25: <xs:element minOccurs="0" name="SANEntries" type="tns:sanEntries"/>
26: </xs:sequence>
27: </xs:extension>
28: </xs:complexContent>
29: </xs:complexType>
30: */
31:
32: /**
33: * This class represents the orderRequest WSDL type.
34: *
35: * It is an extension to the PartnerAPITypeRequest class.
36: *
37: * @method PartnerAPITypeOrderRequest setSANApprover(PartnerAPITypeSanApprover $value) Sets the SANApprover element.
38: * @method PartnerAPITypeSanApprover getSANApprover() Gets the SANApprover element or NULL.
39: * @property PartnerAPITypeSanApprover $SANApprover Gets the SANApprover element or NULL.
40: *
41: * @method PartnerAPITypeOrderRequest setOrderParameters(PartnerAPITypeOrderParameters $value) Sets the orderParameters element.
42: * @method PartnerAPITypeOrderParameters getOrderParameters() Gets the orderParameters element.
43: * @property PartnerAPITypeOrderParameters $orderParameters Gets the orderParameters element.
44: *
45: * @method PartnerAPITypeOrderRequest setOrganizationInfo(PartnerAPITypeOrganizationInfo $value) Sets the organizationInfo element.
46: * @method PartnerAPITypeOrganizationInfo getOrganizationInfo() Gets the organizationInfo element or NULL.
47: * @property PartnerAPITypeOrganizationInfo $organizationInfo Gets the organizationInfo element or NULL.
48: *
49: * @method PartnerAPITypeOrderRequest setRequestorInfo(PartnerAPITypeRequestorInfo $value) Sets the requestorInfo element.
50: * @method PartnerAPITypeRequestorInfo getRequestorInfo() Gets the requestorInfo element.
51: * @property PartnerAPITypeRequestorInfo $requestorInfo Gets the requestorInfo element.
52: *
53: * @method PartnerAPITypeOrderRequest setSANEntries(PartnerAPITypeSanEntries $value) Sets the SANEntries element.
54: * @method PartnerAPITypeSanEntries getSANEntries() Gets the SANEntries element or NULL.
55: * @property PartnerAPITypeSanEntries $SANEntries Gets the SANEntries element or NULL.
56: *
57: * @package types
58: */
59: class PartnerAPITypeOrderRequest extends PartnerAPITypeRequest {
60:
61: protected function initData() {
62: $p = parent::initData();
63: $n = array(
64: 'SANApprover' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeSanApprover', 'nillable' => FALSE),
65: 'orderParameters' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeOrderParameters(), 'type' => 'PartnerAPITypeOrderParameters', 'nillable' => FALSE),
66: 'organizationInfo' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrganizationInfo', 'nillable' => TRUE),
67: 'requestorInfo' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeRequestorInfo(), 'type' => 'PartnerAPITypeRequestorInfo', 'nillable' => FALSE),
68: 'SANEntries' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeSanEntries', 'nillable' => FALSE)
69: );
70: $n = array_merge($p, $n);
71: return $n;
72: }
73:
74:
75: }
76: