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.

Orders.php 798B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. namespace Shop\Model;
  3. use Shop\DB\Orders as OrdersDB;
  4. class Orders
  5. {
  6. protected $container;
  7. protected $id;
  8. protected $reference;
  9. protected $subtotal;
  10. protected $vat;
  11. protected $total;
  12. protected $firstname;
  13. protected $lastname;
  14. public function __construct($container)
  15. {
  16. $this->container = $container;
  17. }
  18. public function setId($value) {
  19. $this->id = $value;
  20. }
  21. public function setReference($value) {
  22. $this->reference = $value;
  23. }
  24. public function setSubtotal($value) {
  25. $this->subtotal = $value;
  26. }
  27. public function setVat($value) {
  28. $this->vat = $value;
  29. }
  30. public function setTotal($value) {
  31. $this->total = $value;
  32. }
  33. public function setFirstname($value) {
  34. $this->firstname = $value;
  35. }
  36. public function setLastname($value) {
  37. $this->lastname = $value;
  38. }
  39. }