OrderRecipientInterface.php 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Model\Order;
  6. /**
  7. * Temando Order Recipient Interface
  8. *
  9. * An order recipient as associated with an order entity at the Temando platform.
  10. *
  11. * @package Temando\Shipping\Model
  12. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  13. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  14. * @link http://www.temando.com/
  15. */
  16. interface OrderRecipientInterface
  17. {
  18. const COMPANY = 'company';
  19. const LASTNAME = 'lastname';
  20. const FIRSTNAME = 'firstname';
  21. const EMAIL = 'email';
  22. const PHONE = 'phone';
  23. const FAX = 'fax';
  24. const NATIONAL_ID = 'national_id';
  25. const TAX_ID = 'tax_id';
  26. const STREET = 'street';
  27. const COUNTRY_CODE = 'country_code';
  28. const REGION = 'region';
  29. const POSTAL_CODE = 'postal_code';
  30. const CITY = 'city';
  31. const SUBURB = 'suburb';
  32. const LONGITUDE = 'longitude';
  33. const LATITUDE = 'latitude';
  34. /**
  35. * @return string
  36. */
  37. public function getCompany();
  38. /**
  39. * @return string
  40. */
  41. public function getLastname();
  42. /**
  43. * @return string
  44. */
  45. public function getFirstname();
  46. /**
  47. * @return string
  48. */
  49. public function getEmail();
  50. /**
  51. * @return string
  52. */
  53. public function getPhone();
  54. /**
  55. * @return string
  56. */
  57. public function getFax();
  58. /**
  59. * @return string
  60. */
  61. public function getNationalId();
  62. /**
  63. * @return string
  64. */
  65. public function getTaxId();
  66. /**
  67. * @return string[]
  68. */
  69. public function getStreet();
  70. /**
  71. * @return string
  72. */
  73. public function getCountryCode();
  74. /**
  75. * @return string
  76. */
  77. public function getRegion();
  78. /**
  79. * @return string
  80. */
  81. public function getPostalCode();
  82. /**
  83. * @return string
  84. */
  85. public function getCity();
  86. /**
  87. * @return string
  88. */
  89. public function getSuburb();
  90. /**
  91. * @return float
  92. */
  93. public function getLongitude();
  94. /**
  95. * @return float
  96. */
  97. public function getLatitude();
  98. }