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="cancelParameters">
13: <xs:sequence>
14: <xs:element minOccurs="0" name="note" type="xs:string"/>
15: <xs:element name="orderID" type="xs:string"/>
16: </xs:sequence>
17: </xs:complexType>
18: */
19:
20: /**
21: * This class represents the cancelParameters WSDL type.
22: *
23: * It is based on the PartnerAPIType class and derives properties and methods from that class.
24: *
25: * @method PartnerAPITypeCancelParameters setNote(string $value) Sets the note element.
26: * @method string getNote() Gets the note element or NULL.
27: * @property string $note Gets the note element or NULL.
28: *
29: * @method PartnerAPITypeCancelParameters setOrderID(string $value) Sets the orderID element.
30: * @method string getOrderID() Gets the orderID element.
31: * @property string $orderID Gets the orderID element.
32: *
33: * @package types
34: */
35: class PartnerAPITypeCancelParameters extends PartnerAPIType {
36:
37: protected function initData() {
38: $n = array(
39: 'note' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
40: 'orderID' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
41: );
42: return $n;
43: }
44:
45:
46: }
47: