CollectionPointSearchRequestInterface.php 954 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Api\Data\Delivery;
  6. /**
  7. * Temando Collection Point Search Request Interface
  8. *
  9. * @api
  10. * @package Temando\Shipping\Api
  11. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  12. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  13. * @link https://www.temando.com/
  14. */
  15. interface CollectionPointSearchRequestInterface
  16. {
  17. const SHIPPING_ADDRESS_ID = 'shipping_address_id';
  18. const COUNTRY_ID = 'country_id';
  19. const POSTCODE = 'postcode';
  20. const PENDING = 'pending';
  21. /**
  22. * @return int
  23. */
  24. public function getShippingAddressId();
  25. /**
  26. * @return string
  27. */
  28. public function getCountryId();
  29. /**
  30. * @return string
  31. */
  32. public function getPostcode();
  33. /**
  34. * @return bool
  35. */
  36. public function isPending();
  37. }