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="revokeCertificateParameters">
13: <xs:sequence>
14: <xs:element minOccurs="0" name="keyCompromitationDate" type="xs:date"/>
15: <xs:element minOccurs="0" name="note" type="xs:string"/>
16: <xs:element minOccurs="0" name="revocationReason" type="tns:revocationReasonEnum"/>
17: <xs:element name="serialNumber" type="xs:string"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the revokeCertificateParameters WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeRevokeCertificateParameters setKeyCompromitationDate(string $value) Sets the keyCompromitationDate element.
28: * @method string getKeyCompromitationDate() Gets the keyCompromitationDate element or NULL.
29: * @property string $keyCompromitationDate Gets the keyCompromitationDate element or NULL.
30: *
31: * @method PartnerAPITypeRevokeCertificateParameters setNote(string $value) Sets the note element.
32: * @method string getNote() Gets the note element or NULL.
33: * @property string $note Gets the note element or NULL.
34: *
35: * @method PartnerAPITypeRevokeCertificateParameters setRevocationReason(string $value) Sets the revocationReason element.
36: * @method string getRevocationReason() Gets the revocationReason element or NULL.
37: * @property string $revocationReason Gets the revocationReason element or NULL.
38: *
39: * @method PartnerAPITypeRevokeCertificateParameters setSerialNumber(string $value) Sets the serialNumber element.
40: * @method string getSerialNumber() Gets the serialNumber element.
41: * @property string $serialNumber Gets the serialNumber element.
42: *
43: * @package types
44: */
45: class PartnerAPITypeRevokeCertificateParameters extends PartnerAPIType {
46:
47: protected function initData() {
48: $n = array(
49: 'keyCompromitationDate' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
50: 'note' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
51: 'revocationReason' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'serialNumber' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
53: );
54: return $n;
55: }
56:
57:
58: }
59: