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="requestorInfo">
13: <xs:sequence>
14: <xs:element name="email" type="xs:string"/>
15: <xs:element name="firstName" type="xs:string"/>
16: <xs:element name="lastName" type="xs:string"/>
17: <xs:element name="phone" type="xs:string"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the requestorInfo WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeRequestorInfo setEmail(string $value) Sets the email element.
28: * @method string getEmail() Gets the email element.
29: * @property string $email Gets the email element.
30: *
31: * @method PartnerAPITypeRequestorInfo setFirstName(string $value) Sets the firstName element.
32: * @method string getFirstName() Gets the firstName element.
33: * @property string $firstName Gets the firstName element.
34: *
35: * @method PartnerAPITypeRequestorInfo setLastName(string $value) Sets the lastName element.
36: * @method string getLastName() Gets the lastName element.
37: * @property string $lastName Gets the lastName element.
38: *
39: * @method PartnerAPITypeRequestorInfo setPhone(string $value) Sets the phone element.
40: * @method string getPhone() Gets the phone element.
41: * @property string $phone Gets the phone element.
42: *
43: * @package types
44: */
45: class PartnerAPITypeRequestorInfo extends PartnerAPIType {
46:
47: protected function initData() {
48: $n = array(
49: 'email' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
50: 'firstName' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
51: 'lastName' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'phone' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => TRUE)
53: );
54: return $n;
55: }
56:
57:
58: }
59: