Skip to content

Commit

Permalink
Merge pull request #11 from dpdconnect/1.1.4
Browse files Browse the repository at this point in the history
1.1.4
  • Loading branch information
dpdplugin authored Aug 25, 2021
2 parents 12b9c1a + 6037457 commit f7ecc24
Show file tree
Hide file tree
Showing 91 changed files with 1,365 additions and 660 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "dpdconnect/php-sdk",
"description": "DPD Connect PHP SDK",
"type": "library",
"description": "DPD Connect PHP SDK",
"license": "OSL-3.0",
"authors": [
{
Expand Down
5 changes: 5 additions & 0 deletions src/Api/Data/Response/ItemStatusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

namespace DpdConnect\Sdk\Api\Data\Response;

/**
* Interface ItemStatusInterface
*
* @package DpdConnect\Sdk\Api\Data\Response
*/
interface ItemStatusInterface extends ResponseStatusInterface
{
/**
Expand Down
11 changes: 8 additions & 3 deletions src/Api/Data/Response/ResponseStatusInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@

namespace DpdConnect\Sdk\Api\Data\Response;

/**
* Interface ResponseStatusInterface
*
* @package DpdConnect\Sdk\Api\Data\Response
*/
interface ResponseStatusInterface
{
const STATUS_SUCCESS = 'SUCCESS';
const STATUS_PARTIAL = 'PARTIALLY FAILED';
const STATUS_FAILURE = 'FAILED';
const STATUS_SUCCESS = 'SUCCESS';
const STATUS_PARTIAL = 'PARTIALLY FAILED';
const STATUS_FAILURE = 'FAILED';

/**
* @return string
Expand Down
28 changes: 28 additions & 0 deletions src/Api/Data/ShipmentOrder/Contact/AddressInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

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

/**
* Interface AddressInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
*/
interface AddressInterface
{
/**
Expand All @@ -13,6 +18,7 @@ public function getCompanyName();

/**
* @param string $companyName
*
* @return Address
*/
public function setCompanyName($companyName);
Expand All @@ -24,6 +30,7 @@ public function getContactPerson();

/**
* @param string $contactPerson
*
* @return Address
*/
public function setContactPerson($contactPerson);
Expand All @@ -35,6 +42,7 @@ public function getName1();

/**
* @param string $name1
*
* @return Address
*/
public function setName1($name1);
Expand All @@ -46,6 +54,7 @@ public function getName2();

/**
* @param string $name2
*
* @return Address
*/
public function setName2($name2);
Expand All @@ -57,6 +66,7 @@ public function getStreet();

/**
* @param string $street
*
* @return Address
*/
public function setStreet($street);
Expand All @@ -68,6 +78,7 @@ public function getHouseNumber();

/**
* @param string $houseNumber
*
* @return Address
*/
public function setHouseNumber($houseNumber);
Expand All @@ -79,6 +90,7 @@ public function getPostalCode();

/**
* @param string $postalCode
*
* @return Address
*/
public function setPostalCode($postalCode);
Expand All @@ -90,6 +102,7 @@ public function getCity();

/**
* @param string $city
*
* @return Address
*/
public function setCity($city);
Expand All @@ -101,6 +114,7 @@ public function getState();

/**
* @param string $state
*
* @return Address
*/
public function setState($state);
Expand All @@ -112,6 +126,7 @@ public function getCountry();

/**
* @param string $country
*
* @return Address
*/
public function setCountry($country);
Expand All @@ -123,6 +138,7 @@ public function isCommercialAddress();

/**
* @param bool $commercialAddress
*
* @return Address
*/
public function setCommercialAddress($commercialAddress);
Expand All @@ -134,6 +150,7 @@ public function getBuilding();

/**
* @param string $building
*
* @return Address
*/
public function setBuilding($building);
Expand All @@ -145,6 +162,7 @@ public function getFloor();

/**
* @param string $floor
*
* @return Address
*/
public function setFloor($floor);
Expand All @@ -156,6 +174,7 @@ public function getDepartment();

/**
* @param string $department
*
* @return Address
*/
public function setDepartment($department);
Expand All @@ -167,6 +186,7 @@ public function getDoorCode();

/**
* @param string $doorCode
*
* @return Address
*/
public function setDoorCode($doorCode);
Expand All @@ -178,6 +198,7 @@ public function getGlobalLocationNumber();

/**
* @param int $globalLocationNumber
*
* @return Address
*/
public function setGlobalLocationNumber($globalLocationNumber);
Expand All @@ -189,6 +210,7 @@ public function getPhoneNumber();

/**
* @param string $phoneNumber
*
* @return Address
*/
public function setPhoneNumber($phoneNumber);
Expand All @@ -200,6 +222,7 @@ public function getFaxNumber();

/**
* @param string $faxNumber
*
* @return Address
*/
public function setFaxNumber($faxNumber);
Expand All @@ -211,6 +234,7 @@ public function getEmail();

/**
* @param string $email
*
* @return Address
*/
public function setEmail($email);
Expand All @@ -222,6 +246,7 @@ public function getWebsite();

/**
* @param string $website
*
* @return Address
*/
public function setWebsite($website);
Expand All @@ -233,6 +258,7 @@ public function getEoriNumber();

/**
* @param string $eoriNumber
*
* @return Address
*/
public function setEoriNumber($eoriNumber);
Expand All @@ -244,6 +270,7 @@ public function getVatNumber();

/**
* @param string $vatNumber
*
* @return Address
*/
public function setVatNumber($vatNumber);
Expand All @@ -255,6 +282,7 @@ public function getComment();

/**
* @param string $comment
*
* @return Address
*/
public function setComment($comment);
Expand Down
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Contact/ReceiverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface ReceiverInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
*/
interface ReceiverInterface extends AddressInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Contact/SenderInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface SenderInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Contact
*/
interface SenderInterface extends AddressInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Customs/ConsigneeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

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

/**
* Interface ConsigneeInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
*/
interface ConsigneeInterface extends AddressInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Customs/ConsignorInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@

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

/**
* Interface ConsignorInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
*/
interface ConsignorInterface extends AddressInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Customs/CustomsLineInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface CustomsLineInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Customs
*/
interface CustomsLineInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Customs/CustomsLinesInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

namespace DpdConnect\Sdk\Api\Data\ShipmentOrder;

/**
* Interface CustomsLinesInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder
*/
interface CustomsLinesInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/PrintOptionsInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

namespace DpdConnect\Sdk\Api\Data\ShipmentOrder;

/**
* Interface PrintOptionsInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder
*/
interface PrintOptionsInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface CashOnDeliveryInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
*/
interface CashOnDeliveryInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Shipment/NotificationInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface NotificationInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
*/
interface NotificationInterface
{
}
5 changes: 5 additions & 0 deletions src/Api/Data/ShipmentOrder/Shipment/ParcelInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

/**
* Interface ParcelInterface
*
* @package DpdConnect\Sdk\Api\Data\ShipmentOrder\Shipment
*/
interface ParcelInterface
{
}
Loading

0 comments on commit f7ecc24

Please sign in to comment.