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 'message.php';
10: require_once 'certumPartnerAPI/types/typeGetProductListRequest.php';
11:
12: /*
13: <message name="PartnerServicePortType_getProductList">
14: <part element="tns:getProductList" name="getProductList">
15: </part>
16: </message>
17: <xs:element name="getProductList" nillable="true" type="tns:getProductListRequest"/>
18: */
19:
20: /**
21: * This class represents the PartnerServicePortType_getProductList WSDL message.
22: *
23: * It has one part 'getProductList' accessible as property or by invoking a getter method.
24: *
25: * @method PartnerAPIMessageGetProductList setCredentials(string $userName, string $password) Overriden method. Read documentation for PartnerAPIMessage class
26: * @property PartnerAPITypeGetProductListRequest $getProductList
27: * @method PartnerAPITypeGetProductListRequest getGetProductList()
28: *
29: * @package messages
30: */
31: class PartnerAPIMessageGetProductList extends PartnerAPIMessage {
32:
33: /**
34: * Defines the part with credentials data.
35: *
36: * @var string
37: */
38: protected $partWithCredentials = 'getProductList';
39:
40: /**
41: * This method returns initial data for the message's parts.
42: *
43: * @return array
44: */
45: protected function initParts() {
46: return array(
47: 'getProductList' => new PartnerAPITypeGetProductListRequest()
48: );
49: }
50:
51:
52: }
53: