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="expiringCertificates">
13: <xs:sequence>
14: <xs:element name="orderID" type="xs:string"/>
15: <xs:element name="serialNumber" type="xs:string"/>
16: <xs:element name="expiringDate" type="xs:dateTime"/>
17: <xs:element name="validityDaysLeft" type="xs:int"/>
18: </xs:sequence>
19: </xs:complexType>
20: */
21:
22: /**
23: * This class represents the expiringCertificates WSDL type.
24: *
25: * It is based on the PartnerAPIType class and derives properties and methods from that class.
26: *
27: * @method PartnerAPITypeExpiringCertificates setOrderID(string $value) Sets the orderID element.
28: * @method string getOrderID() Gets the orderID element.
29: * @property string $orderID Gets the orderID element.
30: *
31: * @method PartnerAPITypeExpiringCertificates setSerialNumber(string $value) Sets the serialNumber element.
32: * @method string getSerialNumber() Gets the serialNumber element.
33: * @property string $serialNumber Gets the serialNumber element.
34: *
35: * @method PartnerAPITypeExpiringCertificates setExpiringDate(string $value) Sets the expiringDate element.
36: * @method string getExpiringDate() Gets the expiringDate element.
37: * @property string $expiringDate Gets the expiringDate element.
38: *
39: * @method PartnerAPITypeExpiringCertificates setValidityDaysLeft(int $value) Sets the validityDaysLeft element.
40: * @method int getValidityDaysLeft() Gets the validityDaysLeft element.
41: * @property int $validityDaysLeft Gets the validityDaysLeft element.
42: *
43: * @package types
44: */
45: class PartnerAPITypeExpiringCertificates extends PartnerAPIType {
46:
47: protected function initData() {
48: $n = array(
49: 'orderID' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
50: 'serialNumber' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
51: 'expiringDate' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'string', 'nillable' => FALSE),
52: 'validityDaysLeft' => array('min' => 1, 'max' => 1, 'value' => NULL, 'type' => 'int', 'nillable' => FALSE)
53: );
54: return $n;
55: }
56:
57:
58: }
59: