CarrierConfigurationAttributes.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. <?php
  2. /**
  3. * Refer to LICENSE.txt distributed with the Temando Shipping module for notice of license
  4. */
  5. namespace Temando\Shipping\Rest\Response\Fields;
  6. /**
  7. * Temando API Carrier Configuration Resource Object Attributes
  8. *
  9. * @package Temando\Shipping\Rest
  10. * @author Christoph Aßmann <christoph.assmann@netresearch.de>
  11. * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
  12. * @link https://www.temando.com/
  13. */
  14. class CarrierConfigurationAttributes
  15. {
  16. /**
  17. * @var string
  18. */
  19. private $integrationId;
  20. /**
  21. * @var string
  22. */
  23. private $status;
  24. /**
  25. * @var string
  26. */
  27. private $connectionName;
  28. /**
  29. * @var string[]
  30. */
  31. private $integrationServiceIds = [];
  32. /**
  33. * @return string
  34. */
  35. public function getIntegrationId()
  36. {
  37. return $this->integrationId;
  38. }
  39. /**
  40. * @param string $integrationId
  41. * @return void
  42. */
  43. public function setIntegrationId($integrationId)
  44. {
  45. $this->integrationId = $integrationId;
  46. }
  47. /**
  48. * @return string
  49. */
  50. public function getStatus()
  51. {
  52. return $this->status;
  53. }
  54. /**
  55. * @param string $status
  56. * @return void
  57. */
  58. public function setStatus($status)
  59. {
  60. $this->status = $status;
  61. }
  62. /**
  63. * @return string
  64. */
  65. public function getConnectionName()
  66. {
  67. return $this->connectionName;
  68. }
  69. /**
  70. * @param string $connectionName
  71. * @return void
  72. */
  73. public function setConnectionName($connectionName)
  74. {
  75. $this->connectionName = $connectionName;
  76. }
  77. /**
  78. * @return string[]
  79. */
  80. public function getIntegrationServiceIds()
  81. {
  82. return $this->integrationServiceIds;
  83. }
  84. /**
  85. * @param string[] $integrationServiceIds
  86. * @return void
  87. */
  88. public function setIntegrationServiceIds(array $integrationServiceIds)
  89. {
  90. $this->integrationServiceIds = $integrationServiceIds;
  91. }
  92. }