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 'typeResponse.php';
10: require_once 'typeGetProductListResponse_Products.php';
11:
12: /*
13: <xs:complexType name="getProductListResponse">
14: <xs:complexContent>
15: <xs:extension base="tns:response">
16: <xs:sequence>
17: <xs:element minOccurs="0" name="products">
18: <xs:complexType>
19: <xs:sequence>
20: <xs:element maxOccurs="unbounded" name="product" type="tns:product"/>
21: </xs:sequence>
22: </xs:complexType>
23: </xs:element>
24: </xs:sequence>
25: </xs:extension>
26: </xs:complexContent>
27: </xs:complexType>
28: */
29:
30: /**
31: * This class represents the getProductListResponse WSDL type.
32: *
33: * It is an extension to the PartnerAPITypeResponse class.
34: *
35: * @method PartnerAPITypeGetProductListResponse setProducts(PartnerAPITypeGetProductListResponse_Products $value) Sets the products element.
36: * @method PartnerAPITypeGetProductListResponse_Products getProducts() Gets the products element or NULL.
37: * @property PartnerAPITypeGetProductListResponse_Products $products Gets the products element or NULL.
38: *
39: * @package types
40: */
41: class PartnerAPITypeGetProductListResponse extends PartnerAPITypeResponse {
42:
43: protected function initData() {
44: $p = parent::initData();
45: $n = array(
46: 'products' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'PartnerAPITypeGetProductListResponse_Products', 'nillable' => FALSE)
47: );
48: $n = array_merge($p, $n);
49: return $n;
50: }
51:
52:
53: }
54: