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="parsedCsr">
13: <xs:sequence>
14: <xs:element minOccurs="0" name="commonName" type="xs:string"/>
15: <xs:element minOccurs="0" name="country" type="xs:string"/>
16: <xs:element minOccurs="0" name="email" type="xs:string"/>
17: <xs:element minOccurs="0" name="joISoCN" type="xs:string"/>
18: <xs:element minOccurs="0" name="joILN" type="xs:string"/>
19: <xs:element minOccurs="0" name="joISoPN" type="xs:string"/>
20: <xs:element minOccurs="0" name="locality" type="xs:string"/>
21: <xs:element minOccurs="0" name="organization" type="xs:string"/>
22: <xs:element minOccurs="0" name="organizationalUnit" type="xs:string"/>
23: <xs:element minOccurs="0" name="postalCode" type="xs:string"/>
24: <xs:element minOccurs="0" name="serialNumber" type="xs:string"/>
25: <xs:element minOccurs="0" name="streetAddress" type="xs:string"/>
26: <xs:element minOccurs="0" name="state" type="xs:string"/>
27: </xs:sequence>
28: </xs:complexType>
29: */
30:
31: /**
32: * This class represents the parsedCsr WSDL type.
33: *
34: * It is based on the PartnerAPIType class and derives properties and methods from that class.
35: *
36: * @method PartnerAPITypeParsedCsr setCommonName(string $value) Sets the commonName element.
37: * @method string getCommonName() Gets the commonName element or NULL.
38: * @property string $commonName Gets the commonName element or NULL.
39: *
40: * @method PartnerAPITypeParsedCsr setCountry(string $value) Sets the country element.
41: * @method string getCountry() Gets the country element or NULL.
42: * @property string $country Gets the country element or NULL.
43: *
44: * @method PartnerAPITypeParsedCsr setEmail(string $value) Sets the email element.
45: * @method string getEmail() Gets the email element or NULL.
46: * @property string $email Gets the email element or NULL.
47: *
48: * @method PartnerAPITypeParsedCsr setJoISoCN(string $value) Sets the joISoCN element.
49: * @method string getJoISoCN() Gets the joISoCN element or NULL.
50: * @property string $joISoCN Gets the joISoCN element or NULL.
51: *
52: * @method PartnerAPITypeParsedCsr setJoILN(string $value) Sets the joILN element.
53: * @method string getJoILN() Gets the joILN element or NULL.
54: * @property string $joILN Gets the joILN element or NULL.
55: *
56: * @method PartnerAPITypeParsedCsr setJoISoPN(string $value) Sets the joISoPN element.
57: * @method string getJoISoPN() Gets the joISoPN element or NULL.
58: * @property string $joISoPN Gets the joISoPN element or NULL.
59: *
60: * @method PartnerAPITypeParsedCsr setBusinessCategory(string $value) Sets the businessCategory element.
61: * @method string getBusinessCategory() Gets the businessCategory element or NULL.
62: * @property string $businessCategory Gets the businessCategory element or NULL.
63: *
64: * @method PartnerAPITypeParsedCsr setLocality(string $value) Sets the locality element.
65: * @method string getLocality() Gets the locality element or NULL.
66: * @property string $locality Gets the locality element or NULL.
67: *
68: * @method PartnerAPITypeParsedCsr setOrganization(string $value) Sets the organization element.
69: * @method string getOrganization() Gets the organization element or NULL.
70: * @property string $organization Gets the organization element or NULL.
71: *
72: * @method PartnerAPITypeParsedCsr setOrganizationalUnit(string $value) Sets the organizationalUnit element.
73: * @method string getOrganizationalUnit() Gets the organizationalUnit element or NULL.
74: * @property string $organizationalUnit Gets the organizationalUnit element or NULL.
75: *
76: * @method PartnerAPITypeParsedCsr setPostalCode(string $value) Sets the postalCode element.
77: * @method string getPostalCode() Gets the postalCode element or NULL.
78: * @property string $postalCode Gets the postalCode element or NULL.
79: *
80: * @method PartnerAPITypeParsedCsr setSerialNumber(string $value) Sets the serialNumber element.
81: * @method string getSerialNumber() Gets the serialNumber element or NULL.
82: * @property string $serialNumber Gets the serialNumber element or NULL.
83: *
84: * @method PartnerAPITypeParsedCsr setStreetAddress(string $value) Sets the streetAddress element.
85: * @method string getStreetAddress() Gets the streetAddress element or NULL.
86: * @property string $streetAddress Gets the streetAddress element or NULL.
87: *
88: * @method PartnerAPITypeParsedCsr setState(string $value) Sets the state element.
89: * @method string getState() Gets the state element or NULL.
90: * @property string $state Gets the state element or NULL.
91: *
92: * @package types
93: */
94: class PartnerAPITypeParsedCsr extends PartnerAPIType {
95:
96: protected function initData() {
97: $n = array(
98: 'commonName' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
99: 'country' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
100: 'email' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
101: 'joISoCN' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
102: 'joILN' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
103: 'joISoPN' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
104: 'businessCategory' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
105: 'locality' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
106: 'organization' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
107: 'organizationalUnit' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
108: 'postalCode' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
109: 'serialNumber' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
110: 'streetAddress' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
111: 'state' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
112: );
113: return $n;
114: }
115:
116:
117: }
118: