You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
618B

  1. <?php
  2. namespace domain\Order\OrderStatus;
  3. class OrderStatus
  4. {
  5. const ALIAS_ORDERED = 'ordered';
  6. const ALIAS_CANCELED = 'canceled';
  7. const ALIAS_DELETED = 'deleted';
  8. public string $alias;
  9. public string $name;
  10. public function getAlias(): string
  11. {
  12. return $this->alias;
  13. }
  14. public function setAlias(string $alias): self
  15. {
  16. $this->alias = $alias;
  17. return $this;
  18. }
  19. public function getName(): string
  20. {
  21. return $this->name;
  22. }
  23. public function setName(string $name): self
  24. {
  25. $this->name = $name;
  26. return $this;
  27. }
  28. }