-
Notifications
You must be signed in to change notification settings - Fork 23
/
Common_example.php
88 lines (70 loc) · 1.97 KB
/
Common_example.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
<?php
namespace NovaPoshta_example;
use NovaPoshta\ApiModels\Common;
use NovaPoshta\MethodParameters\Common_getCargoDescriptionList;
use NovaPoshta\MethodParameters\Common_getTimeIntervals;
class Common_example
{
public static function getBackwardDeliveryCargoTypes()
{
return Common::getBackwardDeliveryCargoTypes();
}
public static function getCargoDescriptionList()
{
$data = new Common_getCargoDescriptionList();
$data->setPage(1);
$data->setFindByString('Шин');
return Common::getCargoDescriptionList($data);
}
public static function getCargoTypes()
{
return Common::getCargoTypes();
}
public static function getDocumentStatuses()
{
return Common::getDocumentStatuses();
}
public static function getOwnershipFormsList()
{
return Common::getOwnershipFormsList();
}
public static function getPalletsList()
{
return Common::getPalletsList();
}
public static function getPaymentForms()
{
return Common::getPaymentForms();
}
public static function getServiceTypes()
{
return Common::getServiceTypes();
}
public static function getTimeIntervals()
{
$data = new Common_getTimeIntervals();
$data->RecipientCityRef = '8d5a980d-391c-11dd-90d9-001a92567626';
$data->DateTime = '15.03.2015';
return Common::getTimeIntervals($data);
}
public static function getTiresWheelsList()
{
return Common::getTiresWheelsList();
}
public static function getTraysList()
{
return Common::getTraysList();
}
public static function getTypesOfCounterparties()
{
return Common::getTypesOfCounterparties();
}
public static function getTypesOfPayers()
{
return Common::getTypesOfPayers();
}
public static function getTypesOfPayersForRedelivery()
{
return Common::getTypesOfPayersForRedelivery();
}
}