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="orderParameters">
13: <xs:sequence>
14: <xs:element name="CSR" type="xs:string"/>
15: <xs:element name="customer" type="xs:string"/>
16: <xs:element minOccurs="0" name="language" type="xs:string"/>
17: <xs:element minOccurs="0" name="orderID" type="xs:string"/>
18: <xs:element name="productCode" type="xs:string"/>
19: <xs:element minOccurs="0" name="userAgent" type="xs:string"/>
20: <xs:element minOccurs="0" name="hashAlgorithm" type="tns:hashAlgorithmEnum"/>
21: <xs:element minOccurs="0" name="email" type="xs:string"/>
22: <xs:element minOccurs="0" name="commonName" type="xs:string"/>
23: <xs:element minOccurs="0" name="organization" type="xs:string"/>
24: <xs:element minOccurs="0" name="organizationalUnit" type="xs:string"/>
25: <xs:element minOccurs="0" name="locality" type="xs:string"/>
26: <xs:element minOccurs="0" name="country" type="xs:string"/>
27: <xs:element minOccurs="0" name="state" type="xs:string"/>
28: <xs:element minOccurs="0" name="serialNumber" type="xs:string"/>
29: <xs:element minOccurs="0" name="businessCategory" type="tns:businessCategoryEnum"/>
30: <xs:element minOccurs="0" name="streetAddress" type="xs:string"/>
31: <xs:element minOccurs="0" name="postalCode" type="xs:string"/>
32: <xs:element minOccurs="0" name="joiln" type="xs:string"/>
33: <xs:element minOccurs="0" name="joisopn" type="xs:string"/>
34: <xs:element minOccurs="0" name="joisocn" type="xs:string"/>
35: <xs:element minOccurs="0" name="revocationContactEmail" type="xs:string"/>
36: <xs:element minOccurs="0" name="shortenedValidityPeriod" type="xs:date"/>
37: </xs:sequence>
38: </xs:complexType>
39: */
40:
41: /**
42: * This class represents the orderParameters WSDL type.
43: *
44: * It is based on the PartnerAPIType class and derives properties and methods from that class.
45: *
46: * @method PartnerAPITypeOrderParameters setCSR(string $value) Sets the CSR element.
47: * @method string getCSR() Gets the CSR element.
48: * @property string $CSR Gets the CSR element.
49: *
50: * @method PartnerAPITypeOrderParameters setCustomer(string $value) Sets the customer element.
51: * @method string getCustomer() Gets the customer element.
52: * @property string $customer Gets the customer element.
53: *
54: * @method PartnerAPITypeOrderParameters setLanguage(string $value) Sets the language element.
55: * @method string getLanguage() Gets the language element or NULL.
56: * @property string $language Gets the language element or NULL.
57: *
58: * @method PartnerAPITypeOrderParameters setOrderID(string $value) Sets the orderID element.
59: * @method string getOrderID() Gets the orderID element or NULL.
60: * @property string $orderID Gets the orderID element or NULL.
61: *
62: * @method PartnerAPITypeOrderParameters setProductCode(string $value) Sets the productCode element.
63: * @method string getProductCode() Gets the productCode element.
64: * @property string $productCode Gets the productCode element.
65: *
66: * @method PartnerAPITypeOrderParameters setUserAgent(string $value) Sets the userAgent element.
67: * @method string getUserAgent() Gets the userAgent element or NULL.
68: * @property string $userAgent Gets the userAgent element or NULL.
69: *
70: * @method PartnerAPITypeOrderParameters setHashAlgorithm(string $value) Sets the hashAlgorithm element.
71: * @method string getHashAlgorithm() Gets the hashAlgorithm element or NULL.
72: * @property string $hashAlgorithm Gets the hashAlgorithm element or NULL.
73: *
74: * @method PartnerAPITypeOrderParameters setEmail(string $value) Sets the email element.
75: * @method string getEmail() Gets the email element or NULL.
76: * @property string $email Gets the email element or NULL.
77: *
78: * @method PartnerAPITypeOrderParameters setCommonName(string $value) Sets the commonName element.
79: * @method string getCommonName() Gets the commonName element or NULL.
80: * @property string $commonName Gets the commonName element or NULL.
81: *
82: * @method PartnerAPITypeOrderParameters setOrganization(string $value) Sets the organization element.
83: * @method string getOrganization() Gets the organization element or NULL.
84: * @property string $organization Gets the organization element or NULL.
85: *
86: * @method PartnerAPITypeOrderParameters setOrganizationalUnit(string $value) Sets the organizationalUnit element.
87: * @method string getOrganizationalUnit() Gets the organizationalUnit element or NULL.
88: * @property string $organizationalUnit Gets the organizationalUnit element or NULL.
89: *
90: * @method PartnerAPITypeOrderParameters setLocality(string $value) Sets the locality element.
91: * @method string getLocality() Gets the locality element or NULL.
92: * @property string $locality Gets the locality element or NULL.
93: *
94: * @method PartnerAPITypeOrderParameters setCountry(string $value) Sets the country element.
95: * @method string getCountry() Gets the country element or NULL.
96: * @property string $country Gets the country element or NULL.
97: *
98: * @method PartnerAPITypeOrderParameters setState(string $value) Sets the state element.
99: * @method string getState() Gets the state element or NULL.
100: * @property string $state Gets the state element or NULL.
101: *
102: * @method PartnerAPITypeOrderParameters setSerialNumber(string $value) Sets the serialNumber element.
103: * @method string getSerialNumber() Gets the serialNumber element or NULL.
104: * @property string $serialNumber Gets the serialNumber element or NULL.
105: *
106: * @method PartnerAPITypeOrderParameters setBusinessCategory(string $value) Sets the businessCategory element.
107: * @method string getBusinessCategory() Gets the businessCategory element or NULL.
108: * @property string $businessCategory Gets the businessCategory element or NULL.
109: *
110: * @method PartnerAPITypeOrderParameters setStreetAddress(string $value) Sets the streetAddress element.
111: * @method string getStreetAddress() Gets the streetAddress element or NULL.
112: * @property string $streetAddress Gets the streetAddress element or NULL.
113: *
114: * @method PartnerAPITypeOrderParameters setPostalCode(string $value) Sets the postalCode element.
115: * @method string getPostalCode() Gets the postalCode element or NULL.
116: * @property string $postalCode Gets the postalCode element or NULL.
117: *
118: * @method PartnerAPITypeOrderParameters setJoiln(string $value) Sets the joiln element.
119: * @method string getJoiln() Gets the joiln element or NULL.
120: * @property string $joiln Gets the joiln element or NULL.
121: *
122: * @method PartnerAPITypeOrderParameters setJoisopn(string $value) Sets the joisopn element.
123: * @method string getJoisopn() Gets the joisopn element or NULL.
124: * @property string $joisopn Gets the joisopn element or NULL.
125: *
126: * @method PartnerAPITypeOrderParameters setJoisocn(string $value) Sets the joisocn element.
127: * @method string getJoisocn() Gets the joisocn element or NULL.
128: * @property string $joisocn Gets the joisocn element or NULL.
129: *
130: * @method PartnerAPITypeOrderParameters setRevocationContactEmail $value) Sets the revocationContactEmail element.
131: * @method string getRevocationContactEmail() Gets the revocationContactEmail element.
132: * @property string $revocationContactEmail Gets the revocationContactEmail element.
133: *
134: * @method PartnerAPITypeOrderParameters setShortenedValidityPeriod(string $value) Sets the shortenedValidityPeriod element.
135: * @method string getShortenedValidityPeriod() Gets the shortenedValidityPeriod element.
136: * @property string $shortenedValidityPeriod Gets the shortenedValidityPeriod element.
137: *
138: * @package types
139: */
140: class PartnerAPITypeOrderParameters extends PartnerAPIType {
141:
142: protected function initData() {
143: $n = array(
144: 'CSR' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
145: 'customer' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
146: 'language' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
147: 'orderID' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
148: 'productCode' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
149: 'userAgent' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
150: 'hashAlgorithm' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
151: 'email' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
152: 'commonName' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
153: 'organization' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
154: 'organizationalUnit' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
155: 'locality' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
156: 'country' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
157: 'state' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
158: 'serialNumber' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
159: 'businessCategory' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
160: 'streetAddress' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
161: 'postalCode' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
162: 'joiln' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
163: 'joisopn' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
164: 'joisocn' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
165: 'revocationContactEmail' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE),
166: 'shortenedValidityPeriod' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE)
167: );
168: return $n;
169: }
170:
171:
172: }
173: