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 'typeResponse.php';
10: require_once 'typeCertificateDetails.php';
11: require_once 'typeCaBundle.php';
12:
13: /*
14: <xs:complexType name="getCertificateResponse">
15: <xs:complexContent>
16: <xs:extension base="tns:response">
17: <xs:sequence>
18: <xs:element minOccurs="0" name="certificateDetails" type="tns:certificateDetails"/>
19: <xs:element minOccurs="0" name="caBundle" type="tns:caBundle"/>
20: </xs:sequence>
21: </xs:extension>
22: </xs:complexContent>
23: </xs:complexType>
24: */
25:
26: /**
27: * This class represents the getCertificateResponse WSDL type.
28: *
29: * It is an extension to the PartnerAPITypeResponse class.
30: *
31: * @method PartnerAPITypeGetCertificateResponse setCertificateDetails(PartnerAPITypeCertificateDetails $value) Sets the certificateDetails element.
32: * @method PartnerAPITypeCertificateDetails getCertificateDetails() Gets the certificateDetails element or NULL.
33: * @property PartnerAPITypeCertificateDetails $certificateDetails Gets the certificateDetails element or NULL.
34: *
35: * @method PartnerAPITypeGetCertificateResponse setCaBundle(PartnerAPITypeCaBundle $value) Sets the caBundle element.
36: * @method PartnerAPITypeCaBundle getCaBundle() Gets the caBundle element or NULL.
37: * @property PartnerAPITypeCaBundle $caBundle Gets the caBundle element or NULL.
38: *
39: * @package types
40: */
41: class PartnerAPITypeGetCertificateResponse extends PartnerAPITypeResponse {
42:
43: protected function initData() {
44: $p = parent::initData();
45: $n = array(
46: 'certificateDetails' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeCertificateDetails', 'nillable' => FALSE),
47: 'caBundle' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeCaBundle', 'nillable' => FALSE)
48: );
49: $n = array_merge($p, $n);
50: return $n;
51: }
52:
53:
54: }
55: