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="caBundle">
13: <xs:sequence>
14: <xs:element maxOccurs="unbounded" name="X509Cert" type="xs:string"/>
15: </xs:sequence>
16: </xs:complexType>
17: */
18:
19: /**
20: * This class represents the caBundle WSDL type.
21: *
22: * It is based on the PartnerAPIType class and derives properties and methods from that class.
23: *
24: * @method PartnerAPITypeCaBundle setX509Cert(string $value) Sets the X509Cert element. This method removes all previously added X509Cert elements and creates a new set of X509Cert elements.
25: * @method PartnerAPITypeCaBundle addX509Cert(string $value) Adds a new X509Cert element to the existing set.
26: * @method string|string[] getX509Cert() Gets the X509Cert element. If there is only one element, it will be returned, otherwise an array of string values will be returned.
27: * @property string|string[] $X509Cert Gets the X509Cert element. If there is only one element, it will be returned, otherwise an array of string values will be returned.
28: *
29: * @package types
30: */
31: class PartnerAPITypeCaBundle extends PartnerAPIType {
32:
33: protected function initData() {
34: $n = array(
35: 'X509Cert' => array('min' => 1, 'max' => NULL, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
36: );
37: return $n;
38: }
39:
40:
41: }
42: