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="certificateDetails">
13: <xs:sequence>
14: <xs:element name="certificateStatus" type="tns:certificateStatusEnum"/>
15: <xs:element name="commonName" type="xs:string"/>
16: <xs:element minOccurs="0" name="DNSNames" type="xs:string"/>
17: <xs:element name="endDate" type="xs:dateTime"/>
18: <xs:element minOccurs="0" name="revokedDate" type="xs:dateTime"/>
19: <xs:element name="serialNumber" type="xs:string"/>
20: <xs:element name="startDate" type="xs:dateTime"/>
21: <xs:element name="subjectName" type="xs:string"/>
22: <xs:element name="X509Cert" type="xs:string"/>
23: </xs:sequence>
24: </xs:complexType>
25: */
26:
27: /**
28: * This class represents the certificateDetails WSDL type.
29: *
30: * It is based on the PartnerAPIType class and derives properties and methods from that class.
31: *
32: * @method PartnerAPITypeCertificateDetails setCertificateStatus(string $value) Sets the certificateStatus element.
33: * @method string getCertificateStatus() Gets the certificateStatus element.
34: * @property string $certificateStatus Gets the certificateStatus element.
35: *
36: * @method PartnerAPITypeCertificateDetails setCommonName(string $value) Sets the commonName element.
37: * @method string getCommonName() Gets the commonName element.
38: * @property string $commonName Gets the commonName element.
39: *
40: * @method PartnerAPITypeCertificateDetails setDNSNames(string $value) Sets the DNSNames element.
41: * @method string getDNSNames() Gets the DNSNames element or NULL.
42: * @property string $DNSNames Gets the DNSNames element or NULL.
43: *
44: * @method PartnerAPITypeCertificateDetails setEndDate(string $value) Sets the endDate element.
45: * @method string getEndDate() Gets the endDate element.
46: * @property string $endDate Gets the endDate element.
47: *
48: * @method PartnerAPITypeCertificateDetails setRevokedDate(string $value) Sets the revokedDate element.
49: * @method string getRevokedDate() Gets the revokedDate element or NULL.
50: * @property string $revokedDate Gets the revokedDate element or NULL.
51: *
52: * @method PartnerAPITypeCertificateDetails setSerialNumber(string $value) Sets the serialNumber element.
53: * @method string getSerialNumber() Gets the serialNumber element.
54: * @property string $serialNumber Gets the serialNumber element.
55: *
56: * @method PartnerAPITypeCertificateDetails setStartDate(string $value) Sets the startDate element.
57: * @method string getStartDate() Gets the startDate element.
58: * @property string $startDate Gets the startDate element.
59: *
60: * @method PartnerAPITypeCertificateDetails setSubjectName(string $value) Sets the subjectName element.
61: * @method string getSubjectName() Gets the subjectName element.
62: * @property string $subjectName Gets the subjectName element.
63: *
64: * @method PartnerAPITypeCertificateDetails setX509Cert(string $value) Sets the X509Cert element.
65: * @method string getX509Cert() Gets the X509Cert element.
66: * @property string $X509Cert Gets the X509Cert element.
67: *
68: * @package types
69: */
70: class PartnerAPITypeCertificateDetails extends PartnerAPIType {
71:
72: protected function initData() {
73: $n = array(
74: 'certificateStatus' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
75: 'commonName' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
76: 'DNSNames' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
77: 'endDate' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
78: 'revokedDate' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
79: 'serialNumber' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
80: 'startDate' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
81: 'subjectName' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
82: 'X509Cert' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
83: );
84: return $n;
85: }
86:
87:
88: }
89: