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 'operation.php';
10: require_once 'certumPartnerAPI/messages/messagePerformSanVerification.php';
11: require_once 'certumPartnerAPI/messages/messagePerformSanVerificationResponse.php';
12:
13: /*
14: <operation name="performSanVerification" parameterOrder="performSanVerification">
15: <input message="tns:PartnerServicePortType_performSanVerification">
16: </input>
17: <output message="tns:PartnerServicePortType_performSanVerificationResponse">
18: </output>
19: </operation>
20: */
21:
22: /**
23: * This class represents the performSanVerification WSDL operation.
24: *
25: * It is based on the PartnerAPIOperation class and derives some properties and methods from that class.
26: *
27: * @method PartnerAPIMessagePerformSanVerificationResponse getResponseMessage() A complete response from a service
28: *
29: * @package operations
30: */
31: class PartnerAPIOperationPerformSanVerification extends PartnerAPIOperation {
32:
33: /**
34: * @var PartnerAPIMessagePerformSanVerification
35: */
36: protected $_input = NULL;
37:
38: /**
39: * @var PartnerAPIMessagePerformSanVerificationResponse
40: */
41: protected $_output = NULL;
42:
43: /**
44: * @var string
45: */
46: protected $_operation = 'performSanVerification';
47:
48: /**
49: * The constructor.
50: *
51: * It initializes input and output data.
52: */
53: public function __construct() {
54: $this->_input = new PartnerAPIMessagePerformSanVerification();
55: $this->_output = new PartnerAPIMessagePerformSanVerificationResponse();
56: }
57:
58: /**
59: * Sets a code for the request.
60: *
61: * Setting this value is required.
62: *
63: * @param string $code
64: * @return PartnerAPIOperationPerformSanVerification
65: */
66: public function setCode($code) {
67: $this->_input->performSanVerification->setCode($code);
68: return $this;
69: }
70:
71: }
72: