SearchRequestInterface.php 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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\CollectionPoint;
  6. /**
  7. * Temando Collection Point Search Request Interface
  8. *
  9. * @api
  10. * @deprecated since 1.4.0
  11. * @see \Temando\Shipping\Api\Data\Delivery\CollectionPointSearchRequestInterface
  12. *
  13. * @package Temando\Shipping\Api
  14. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  15. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  16. * @link http://www.temando.com/
  17. */
  18. interface SearchRequestInterface
  19. {
  20. const SHIPPING_ADDRESS_ID = 'shipping_address_id';
  21. const COUNTRY_ID = 'country_id';
  22. const POSTCODE = 'postcode';
  23. const PENDING = 'pending';
  24. /**
  25. * @return int
  26. */
  27. public function getShippingAddressId();
  28. /**
  29. * @return string
  30. */
  31. public function getCountryId();
  32. /**
  33. * @return string
  34. */
  35. public function getPostcode();
  36. /**
  37. * @return bool
  38. */
  39. public function isPending();
  40. }