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="sanApprover">
13: <xs:sequence>
14: <xs:element name="approverMethod" type="tns:verificationMethodType"/>
15: <xs:element minOccurs="0" name="approverEmail" type="xs:string"/>
16: <xs:element minOccurs="0" name="approverEmailPrefix" type="tns:approverEmailPrefixType"/>
17: <xs:element minOccurs="0" name="verificationNotificationEnabled" type="xs:boolean"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the SanApprover WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeSanApprover setApproverEmailPrefix(string $value) Sets the approverEmailPrefix element.
28: * @method string getApproverEmailPrefix() Gets the approverEmailPrefix element.
29: * @property string $approverEmailPrefix Gets the approverEmailPrefix element.
30: *
31: * @method PartnerAPITypeSanApprover setApproverEmail(string $value) Sets the approverEmail element.
32: * @method string getApproverEmail() Gets the approverEmail element or NULL.
33: * @property string $approverEmail Gets the approverEmail element or NULL.
34: *
35: * @method PartnerAPITypeApprover setApproverMethod(string $value) Sets the approverMethod element.
36: * @method string getApproverMethod() Gets the approverMethod element or NULL.
37: * @property string $approverMethod Gets the approverMethod element or NULL.
38: *
39: * @method PartnerAPITypeSanApprover setVerificationNotificationEnabled(boolean $value) Sets the verificationNotificationEnabled element.
40: * @method boolean getVerificationNotificationEnabled() Gets the verificationNotificationEnabled element or NULL.
41: * @property boolean $verificationNotificationEnabled Gets the verificationNotificationEnabled element or NULL.
42: *
43: * @package types
44: */
45: class PartnerAPITypeSanApprover extends PartnerAPIType {
46:
47: protected function initData() {
48: $n = array(
49: 'approverEmailPrefix' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
50: 'approverEmail' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
51: 'approverMethod' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'verificationNotificationEnabled' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'boolean', 'nillable' => FALSE)
53: );
54: return $n;
55: }
56:
57:
58: }
59: