Skip to content

Commit f7ecc24

Browse files
authored
Merge pull request #11 from dpdconnect/1.1.4
1.1.4
2 parents 12b9c1a + 6037457 commit f7ecc24

File tree

91 files changed

+1365
-660
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+1365
-660
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "dpdconnect/php-sdk",
3-
"description": "DPD Connect PHP SDK",
43
"type": "library",
4+
"description": "DPD Connect PHP SDK",
55
"license": "OSL-3.0",
66
"authors": [
77
{

src/Api/Data/Response/ItemStatusInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\Response;
44

5+
/**
6+
* Interface ItemStatusInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\Response
9+
*/
510
interface ItemStatusInterface extends ResponseStatusInterface
611
{
712
/**

src/Api/Data/Response/ResponseStatusInterface.php

+8-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,16 @@
22

33
namespace DpdConnect\Sdk\Api\Data\Response;
44

5+
/**
6+
* Interface ResponseStatusInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\Response
9+
*/
510
interface ResponseStatusInterface
611
{
7-
const STATUS_SUCCESS = 'SUCCESS';
8-
const STATUS_PARTIAL = 'PARTIALLY FAILED';
9-
const STATUS_FAILURE = 'FAILED';
12+
const STATUS_SUCCESS = 'SUCCESS';
13+
const STATUS_PARTIAL = 'PARTIALLY FAILED';
14+
const STATUS_FAILURE = 'FAILED';
1015

1116
/**
1217
* @return string

src/Api/Data/ShipmentOrder/Contact/AddressInterface.php

+28
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
use DpdConnect\Sdk\Objects\ShipmentOrder\Contact\Address;
66

7+
/**
8+
* Interface AddressInterface
9+
*
10+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
11+
*/
712
interface AddressInterface
813
{
914
/**
@@ -13,6 +18,7 @@ public function getCompanyName();
1318

1419
/**
1520
* @param string $companyName
21+
*
1622
* @return Address
1723
*/
1824
public function setCompanyName($companyName);
@@ -24,6 +30,7 @@ public function getContactPerson();
2430

2531
/**
2632
* @param string $contactPerson
33+
*
2734
* @return Address
2835
*/
2936
public function setContactPerson($contactPerson);
@@ -35,6 +42,7 @@ public function getName1();
3542

3643
/**
3744
* @param string $name1
45+
*
3846
* @return Address
3947
*/
4048
public function setName1($name1);
@@ -46,6 +54,7 @@ public function getName2();
4654

4755
/**
4856
* @param string $name2
57+
*
4958
* @return Address
5059
*/
5160
public function setName2($name2);
@@ -57,6 +66,7 @@ public function getStreet();
5766

5867
/**
5968
* @param string $street
69+
*
6070
* @return Address
6171
*/
6272
public function setStreet($street);
@@ -68,6 +78,7 @@ public function getHouseNumber();
6878

6979
/**
7080
* @param string $houseNumber
81+
*
7182
* @return Address
7283
*/
7384
public function setHouseNumber($houseNumber);
@@ -79,6 +90,7 @@ public function getPostalCode();
7990

8091
/**
8192
* @param string $postalCode
93+
*
8294
* @return Address
8395
*/
8496
public function setPostalCode($postalCode);
@@ -90,6 +102,7 @@ public function getCity();
90102

91103
/**
92104
* @param string $city
105+
*
93106
* @return Address
94107
*/
95108
public function setCity($city);
@@ -101,6 +114,7 @@ public function getState();
101114

102115
/**
103116
* @param string $state
117+
*
104118
* @return Address
105119
*/
106120
public function setState($state);
@@ -112,6 +126,7 @@ public function getCountry();
112126

113127
/**
114128
* @param string $country
129+
*
115130
* @return Address
116131
*/
117132
public function setCountry($country);
@@ -123,6 +138,7 @@ public function isCommercialAddress();
123138

124139
/**
125140
* @param bool $commercialAddress
141+
*
126142
* @return Address
127143
*/
128144
public function setCommercialAddress($commercialAddress);
@@ -134,6 +150,7 @@ public function getBuilding();
134150

135151
/**
136152
* @param string $building
153+
*
137154
* @return Address
138155
*/
139156
public function setBuilding($building);
@@ -145,6 +162,7 @@ public function getFloor();
145162

146163
/**
147164
* @param string $floor
165+
*
148166
* @return Address
149167
*/
150168
public function setFloor($floor);
@@ -156,6 +174,7 @@ public function getDepartment();
156174

157175
/**
158176
* @param string $department
177+
*
159178
* @return Address
160179
*/
161180
public function setDepartment($department);
@@ -167,6 +186,7 @@ public function getDoorCode();
167186

168187
/**
169188
* @param string $doorCode
189+
*
170190
* @return Address
171191
*/
172192
public function setDoorCode($doorCode);
@@ -178,6 +198,7 @@ public function getGlobalLocationNumber();
178198

179199
/**
180200
* @param int $globalLocationNumber
201+
*
181202
* @return Address
182203
*/
183204
public function setGlobalLocationNumber($globalLocationNumber);
@@ -189,6 +210,7 @@ public function getPhoneNumber();
189210

190211
/**
191212
* @param string $phoneNumber
213+
*
192214
* @return Address
193215
*/
194216
public function setPhoneNumber($phoneNumber);
@@ -200,6 +222,7 @@ public function getFaxNumber();
200222

201223
/**
202224
* @param string $faxNumber
225+
*
203226
* @return Address
204227
*/
205228
public function setFaxNumber($faxNumber);
@@ -211,6 +234,7 @@ public function getEmail();
211234

212235
/**
213236
* @param string $email
237+
*
214238
* @return Address
215239
*/
216240
public function setEmail($email);
@@ -222,6 +246,7 @@ public function getWebsite();
222246

223247
/**
224248
* @param string $website
249+
*
225250
* @return Address
226251
*/
227252
public function setWebsite($website);
@@ -233,6 +258,7 @@ public function getEoriNumber();
233258

234259
/**
235260
* @param string $eoriNumber
261+
*
236262
* @return Address
237263
*/
238264
public function setEoriNumber($eoriNumber);
@@ -244,6 +270,7 @@ public function getVatNumber();
244270

245271
/**
246272
* @param string $vatNumber
273+
*
247274
* @return Address
248275
*/
249276
public function setVatNumber($vatNumber);
@@ -255,6 +282,7 @@ public function getComment();
255282

256283
/**
257284
* @param string $comment
285+
*
258286
* @return Address
259287
*/
260288
public function setComment($comment);

src/Api/Data/ShipmentOrder/Contact/ReceiverInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact;
44

5+
/**
6+
* Interface ReceiverInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
9+
*/
510
interface ReceiverInterface extends AddressInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Contact/SenderInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact;
44

5+
/**
6+
* Interface SenderInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
9+
*/
510
interface SenderInterface extends AddressInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Customs/ConsigneeInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
use DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact\AddressInterface;
66

7+
/**
8+
* Interface ConsigneeInterface
9+
*
10+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
11+
*/
712
interface ConsigneeInterface extends AddressInterface
813
{
914
}

src/Api/Data/ShipmentOrder/Customs/ConsignorInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@
44

55
use DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact\AddressInterface;
66

7+
/**
8+
* Interface ConsignorInterface
9+
*
10+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
11+
*/
712
interface ConsignorInterface extends AddressInterface
813
{
914
}

src/Api/Data/ShipmentOrder/Customs/CustomsLineInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs;
44

5+
/**
6+
* Interface CustomsLineInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
9+
*/
510
interface CustomsLineInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Customs/CustomsLinesInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder;
44

5+
/**
6+
* Interface CustomsLinesInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder
9+
*/
510
interface CustomsLinesInterface
611
{
712
}

src/Api/Data/ShipmentOrder/PrintOptionsInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder;
44

5+
/**
6+
* Interface PrintOptionsInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder
9+
*/
510
interface PrintOptionsInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Shipment/CashOnDeliveryInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment;
44

5+
/**
6+
* Interface CashOnDeliveryInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
9+
*/
510
interface CashOnDeliveryInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Shipment/NotificationInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment;
44

5+
/**
6+
* Interface NotificationInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
9+
*/
510
interface NotificationInterface
611
{
712
}

src/Api/Data/ShipmentOrder/Shipment/ParcelInterface.php

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22

33
namespace DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment;
44

5+
/**
6+
* Interface ParcelInterface
7+
*
8+
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
9+
*/
510
interface ParcelInterface
611
{
712
}

0 commit comments

Comments
 (0)