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: require_once 'typeFQDNs.php';
11:
12: /*
13: <xs:complexType name="sanVerification">
14: <xs:sequence>
15: <xs:element name="approverMethod" type="tns:verificationMethodType"/>
16: <xs:element name="code" type="xs:string"/>
17: <xs:element name="approverEmail" type="xs:string"/>
18: <xs:element name="FQDNs" type="tns:FQDNs"/>
19: </xs:sequence>
20: </xs:complexType>
21: */
22:
23: /**
24: * This class represents the sanVerification WSDL type.
25: *
26: * It is based on the PartnerAPIType class and derives properties and methods from that class.
27: *
28: * @method PartnerAPITypeSanVerification setApproverMethod(string $value) Sets the approverMethod element.
29: * @method string getApproverMethod() Gets the approverMethod element.
30: * @property string $approverMethod Gets the approverMethod element.
31: *
32: * @method PartnerAPITypeSanVerification setCode(string $value) Sets the code element.
33: * @method string getCode() Gets the code element.
34: * @property string $code Gets the code element.
35: *
36: * @method PartnerAPITypeSanVerification setApproverEmail(string $value) Sets the approverEmail element.
37: * @method string getApproverEmail() Gets the approverEmail element.
38: * @property string $approverEmail Gets the approverEmail element.
39: *
40: * @method PartnerAPITypeSanVerification setFQDNs(PartnerAPITypeFQDNs $value) Sets the FQDNs element.
41: * @method PartnerAPITypeFQDNs getFQDNs() Gets the FQDNs element.
42: * @property PartnerAPITypeFQDNs $FQDNs Gets the FQDNs element.
43: *
44: * @package types
45: */
46: class PartnerAPITypeSanVerification extends PartnerAPIType {
47:
48: protected function initData() {
49: $n = array(
50: 'approverMethod' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
51: 'code' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'approverEmail' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
53: 'FQDNs' => array('min' => 1, 'max' => 1, 'value' => new PartnerAPITypeFQDNs(), 'type' => 'PartnerAPITypeFQDNs', 'nillable' => FALSE)
54: );
55: return $n;
56: }
57:
58:
59: }
60: