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 'typeSanApprover.php';
11: require_once 'typeSanEntries.php';
12:
13: /*
14: <xs:complexType name="reissueCertificateRequest">
15: <xs:complexContent>
16: <xs:extension base="tns:request">
17: <xs:sequence>
18: <xs:element minOccurs="0" name="serialNumber" type="xs:string"/>
19: <xs:element minOccurs="0" name="X509Cert" type="xs:string"/>
20: <xs:element minOccurs="0" name="hashAlgorithm" type="tns:hashAlgorithmEnum"/>
21: <xs:element minOccurs="0" name="CSR" type="xs:string"/>
22: <xs:element minOccurs="0" name="SANApprover" type="tns:sanApprover"/>
23: <xs:element minOccurs="0" name="SANEntries" type="tns:sanEntries"/>
24: <xs:element minOccurs="0" name="userAgent" type="xs:string"/>
25: </xs:sequence>
26: </xs:extension>
27: </xs:complexContent>
28: </xs:complexType>
29: */
30:
31: /**
32: * This class represents the reissueCertificateRequest WSDL type.
33: *
34: * It is an extension to the PartnerAPITypeRequest class.
35: *
36: * @method PartnerAPITypeReissueCertificateRequest setSerialNumber(string $value) Sets the serialNumber element.
37: * @method string getSerialNumber() Gets the serialNumber element or NULL.
38: * @property string $serialNumber Gets the serialNumber element or NULL.
39: *
40: * @method PartnerAPITypeReissueCertificateRequest setX509Cert(string $value) Sets the X509Cert element.
41: * @method string getX509Cert() Gets the X509Cert element or NULL.
42: * @property string $X509Cert Gets the X509Cert element or NULL.
43: *
44: * @method PartnerAPITypeReissueCertificateRequest setHashAlgorithm(string $value) Sets the hashAlgorithm element.
45: * @method string getHashAlgorithm() Gets the hashAlgorithm element or NULL.
46: * @property string $hashAlgorithm Gets the hashAlgorithm element or NULL.
47: *
48: * @method PartnerAPITypeReissueCertificateRequest setCSR(string $value) Sets the CSR element.
49: * @method string getCSR() Gets the CSR element or NULL.
50: * @property string $CSR Gets the CSR element or NULL.
51: *
52: * @method PartnerAPITypeReissueCertificateRequest setSANApprover(PartnerAPITypeSanApprover $value) Sets the SANApprover element.
53: * @method PartnerAPITypeSanApprover getSANApprover() Gets the SANApprover element or NULL.
54: * @property PartnerAPITypeSanApprover $SANApprover Gets the SANApprover element or NULL.
55: *
56: * @method PartnerAPITypeReissueCertificateRequest setSANEntries(PartnerAPITypeSanEntries $value) Sets the SANEntries element.
57: * @method PartnerAPITypeSanEntries getSANEntries() Gets the SANEntries element or NULL.
58: * @property PartnerAPITypeSanEntries $SANEntries Gets the SANEntries element or NULL.
59: *
60: * @method PartnerAPITypeReissueCertificateRequest setUserAgent(string $value) Sets the UserAgent element.
61: * @method string getUserAgent() Gets the UserAgent element or NULL.
62: * @property string $userAgent Gets the UserAgent element or NULL.
63: *
64: * @package types
65: */
66: class PartnerAPITypeReissueCertificateRequest extends PartnerAPITypeRequest {
67:
68: protected function initData() {
69: $p = parent::initData();
70: $n = array(
71: 'serialNumber' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
72: 'X509Cert' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
73: 'hashAlgorithm' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
74: 'CSR' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
75: 'SANApprover' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeSanApprover', 'nillable' => FALSE),
76: 'SANEntries' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeSanEntries', 'nillable' => FALSE),
77: 'userAgent' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
78: );
79: $n = array_merge($p, $n);
80: return $n;
81: }
82:
83:
84: }
85: