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="orderStatus">
13: <xs:sequence>
14: <xs:element name="customer" type="xs:string"/>
15: <xs:element name="orderDate" type="xs:dateTime"/>
16: <xs:element name="orderID" type="xs:string"/>
17: <xs:element name="orderStatus" type="tns:certificationRequestStateTypeEnum"/>
18: <xs:element name="productCode" type="xs:string"/>
19: <xs:element minOccurs="0" name="serialNumber" type="xs:string"/>
20: </xs:sequence>
21: </xs:complexType>
22: */
23:
24: /**
25: * This class represents the orderStatus WSDL type.
26: *
27: * It is based on the PartnerAPIType class and derives properties and methods from that class.
28: *
29: * @method PartnerAPITypeOrderStatus setCustomer(string $value) Sets the customer element.
30: * @method string getCustomer() Gets the customer element.
31: * @property string $customer Gets the customer element.
32: *
33: * @method PartnerAPITypeOrderStatus setOrderDate(string $value) Sets the orderDate element.
34: * @method string getOrderDate() Gets the orderDate element.
35: * @property string $orderDate Gets the orderDate element.
36: *
37: * @method PartnerAPITypeOrderStatus setOrderID(string $value) Sets the orderID element.
38: * @method string getOrderID() Gets the orderID element.
39: * @property string $orderID Gets the orderID element.
40: *
41: * @method PartnerAPITypeOrderStatus setOrderStatus(string $value) Sets the orderStatus element.
42: * @method string getOrderStatus() Gets the orderStatus element.
43: * @property string $orderStatus Gets the orderStatus element.
44: *
45: * @method PartnerAPITypeOrderStatus setProductCode(string $value) Sets the productCode element.
46: * @method string getProductCode() Gets the productCode element.
47: * @property string $productCode Gets the productCode element.
48: *
49: * @method PartnerAPITypeOrderStatus setSerialNumber(string $value) Sets the serialNumber element.
50: * @method string getSerialNumber() Gets the serialNumber element or NULL.
51: * @property string $serialNumber Gets the serialNumber element or NULL.
52: *
53: * @package types
54: */
55: class PartnerAPITypeOrderStatus extends PartnerAPIType {
56:
57: protected function initData() {
58: $n = array(
59: 'customer' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
60: 'orderDate' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
61: 'orderID' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
62: 'orderStatus' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
63: 'productCode' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
64: 'serialNumber' => array('min' => 0, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE)
65: );
66: return $n;
67: }
68:
69:
70: }
71: