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 'typeOrderSNIParameters.php';
11: require_once 'typeSerialNumbers.php';
12: require_once 'typeRequestorInfo.php';
13: require_once 'typeOrganizationInfo.php';
14:
15: /*
16: <xs:complexType name="orderSNICertificateRequest">
17: <xs:complexContent>
18: <xs:extension base="tns:request">
19: <xs:sequence>
20: <xs:element name="orderSNIParameters" type="tns:orderSNIParameters"/>
21: <xs:element name="serialNumbers" type="tns:serialNumbers"/>
22: <xs:element name="requestorInfo" type="tns:requestorInfo"/>
23: <xs:element minOccurs="0" name="organizationInfo" type="tns:organizationInfo"/>
24: </xs:sequence>
25: </xs:extension>
26: </xs:complexContent>
27: </xs:complexType>
28: */
29:
30: /**
31: * This class represents the orderSNICertificateRequest WSDL type.
32: *
33: * It is an extension to the PartnerAPITypeRequest class.
34: *
35: * @method PartnerAPITypeOrderSNICertificateRequest setOrderSNIParameters(PartnerAPITypeOrderSNIParameters $value) Sets the orderSNIParameters element.
36: * @method PartnerAPITypeOrderSNIParameters getOrderSNIParameters() Gets the orderSNIParameters element.
37: * @property PartnerAPITypeOrderSNIParameters $orderSNIParameters Gets the orderSNIParameters element.
38: *
39: * @method PartnerAPITypeOrderSNICertificateRequest setSerialNumbers(PartnerAPITypeSerialNumbers $value) Sets the serialNumbers element.
40: * @method PartnerAPITypeSerialNumbers getSerialNumbers() Gets the serialNumbers element.
41: * @property PartnerAPITypeSerialNumbers $serialNumbers Gets the serialNumbers element.
42: *
43: * @method PartnerAPITypeOrderSNICertificateRequest setRequestorInfo(PartnerAPITypeRequestorInfo $value) Sets the requestorInfo element.
44: * @method PartnerAPITypeRequestorInfo getRequestorInfo() Gets the requestorInfo element.
45: * @property PartnerAPITypeRequestorInfo $requestorInfo Gets the requestorInfo element.
46: *
47: * @method PartnerAPITypeOrderSNICertificateRequest setOrganizationInfo(PartnerAPITypeOrganizationInfo $value) Sets the organizationInfo element.
48: * @method PartnerAPITypeOrganizationInfo getOrganizationInfo() Gets the organizationInfo element or NULL.
49: * @property PartnerAPITypeOrganizationInfo $organizationInfo Gets the organizationInfo element or NULL.
50: *
51: * @package types
52: */
53: class PartnerAPITypeOrderSNICertificateRequest extends PartnerAPITypeRequest {
54:
55: protected function initData() {
56: $p = parent::initData();
57: $n = array(
58: 'orderSNIParameters' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeOrderSNIParameters(), 'type' => 'PartnerAPITypeOrderSNIParameters', 'nillable' => FALSE),
59: 'serialNumbers' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeSerialNumbers(), 'type' => 'PartnerAPITypeSerialNumbers', 'nillable' => FALSE),
60: 'requestorInfo' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeRequestorInfo(), 'type' => 'PartnerAPITypeRequestorInfo', 'nillable' => FALSE),
61: 'organizationInfo' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeOrganizationInfo', 'nillable' => FALSE)
62: );
63: $n = array_merge($p, $n);
64: return $n;
65: }
66:
67:
68: }
69: