Country.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?php
  2. /**
  3. * Automatically created by MageSpecialist CodeMonkey
  4. * https://github.com/magespecialist/m2-MSP_CodeMonkey
  5. */
  6. namespace MSP\TwoFactorAuth\Model\Data;
  7. use Magento\Framework\Api\AbstractExtensibleObject;
  8. class Country extends AbstractExtensibleObject implements
  9. \MSP\TwoFactorAuth\Api\Data\CountryInterface
  10. {
  11. /**
  12. * {@inheritdoc}
  13. */
  14. public function getId()
  15. {
  16. return $this->_get(self::ID);
  17. }
  18. /**
  19. * {@inheritdoc}
  20. */
  21. public function setId($value)
  22. {
  23. $this->setData(self::ID, $value);
  24. return $this;
  25. }
  26. /**
  27. * {@inheritdoc}
  28. */
  29. public function getCode()
  30. {
  31. return $this->_get(self::CODE);
  32. }
  33. /**
  34. * {@inheritdoc}
  35. */
  36. public function setCode($value)
  37. {
  38. $this->setData(self::CODE, $value);
  39. return $this;
  40. }
  41. /**
  42. * {@inheritdoc}
  43. */
  44. public function getName()
  45. {
  46. return $this->_get(self::NAME);
  47. }
  48. /**
  49. * {@inheritdoc}
  50. */
  51. public function setName($value)
  52. {
  53. $this->setData(self::NAME, $value);
  54. return $this;
  55. }
  56. /**
  57. * {@inheritdoc}
  58. */
  59. public function getDialCode()
  60. {
  61. return $this->_get(self::DIAL_CODE);
  62. }
  63. /**
  64. * {@inheritdoc}
  65. */
  66. public function setDialCode($value)
  67. {
  68. $this->setData(self::DIAL_CODE, $value);
  69. return $this;
  70. }
  71. /**
  72. * {@inheritdoc}
  73. */
  74. public function getExtensionAttributes()
  75. {
  76. return $this->_get(self::EXTENSION_ATTRIBUTES_KEY);
  77. }
  78. /**
  79. * {@inheritdoc}
  80. */
  81. public function setExtensionAttributes(
  82. \MSP\TwoFactorAuth\Api\Data\CountryExtensionInterface $extensionAttributes
  83. ) {
  84. return $this->setData(self::EXTENSION_ATTRIBUTES_KEY, $extensionAttributes);
  85. }
  86. }