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="orderSNIParameters">
13: <xs:sequence>
14: <xs:element name="CSR" type="xs:string"/>
15: <xs:element minOccurs="0" name="language" type="xs:string"/>
16: <xs:element minOccurs="0" name="hashAlgorithm" type="tns:hashAlgorithmEnum"/>
17: </xs:sequence>
18: </xs:complexType>
19: */
20:
21: /**
22: * This class represents the orderSNIParameters WSDL type.
23: *
24: * It is based on the PartnerAPIType class and derives properties and methods from that class.
25: *
26: * @method PartnerAPITypeOrderSNIParameters setCSR(string $value) Sets the CSR element.
27: * @method string getCSR() Gets the CSR element.
28: * @property string $CSR Gets the CSR element.
29: *
30: * @method PartnerAPITypeOrderSNIParameters setLanguage(string $value) Sets the language element.
31: * @method string getLanguage() Gets the language element or NULL.
32: * @property string $language Gets the language element or NULL.
33: *
34: * @method PartnerAPITypeOrderSNIParameters setHashAlgorithm(string $value) Sets the hashAlgorithm element.
35: * @method string getHashAlgorithm() Gets the hashAlgorithm element or NULL.
36: * @property string $hashAlgorithm Gets the hashAlgorithm element or NULL.
37: *
38: * @package types
39: */
40: class PartnerAPITypeOrderSNIParameters extends PartnerAPIType {
41:
42: protected function initData() {
43: $n = array(
44: 'CSR' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
45: 'language' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
46: 'hashAlgorithm' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
47: );
48: return $n;
49: }
50:
51:
52: }
53: