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 'typeRequest.php';
10: require_once 'typeSanApprover.php';
11:
12: /*
13: <xs:complexType name="addSanVerificationRequest">
14: <xs:complexContent>
15: <xs:extension base="tns:request">
16: <xs:sequence>
17: <xs:element minOccurs="0" name="SANApprover" type="tns:sanApprover"/>
18: <xs:element name="orderID" type="xs:string"/>
19: </xs:sequence>
20: </xs:extension>
21: </xs:complexContent>
22: </xs:complexType>
23: */
24:
25: /**
26: * This class represents the addSanVerificationRequest WSDL type.
27: *
28: * It is based on the PartnerAPIType class and derives properties and methods from that class.
29: *
30: * @method PartnerAPITypeAddSanVerificationRequest setSANApprover(PartnerAPITypeSanApprover $value) Sets the SANApprover element.
31: * @method PartnerAPITypeSanApprover getSANApprover() Gets the SANApprover element or NULL.
32: * @property PartnerAPITypeSanApprover $SANApprover Gets the SANApprover element or NULL.
33: *
34: * @method PartnerAPITypeAddSanVerificationRequest setOrderID(string $value) Sets the orderID element.
35: * @method string getOrderID() Gets the orderID element.
36: * @property string $orderID Gets the orderID element.
37: *
38: * @package types
39: */
40: class PartnerAPITypeAddSanVerificationRequest extends PartnerAPITypeRequest {
41:
42: protected function initData() {
43: $p = parent::initData();
44: $n = array(
45: 'SANApprover' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeSanApprover', 'nillable' => TRUE),
46: 'orderID' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
47: );
48: $n = array_merge($p, $n);
49: return $n;
50: }
51:
52:
53: }
54: