Files
004_comission/_resources/it114105/itp4513/Assignment/19-20/models/OrderItem.php
louiscklaw 6c60a73f30 update,
2025-01-31 19:15:17 +08:00

29 lines
370 B
PHP

<?php
class OrderItem{
private $id;
private $qty;
private $price;
function __construct($id, $qty, $price){
$this->id = $id;
$this->qty = $qty;
$this->price = $price;
}
public function getId(){
return $this->id;
}
public function getQty(){
return $this->qty;
}
public function getPrice(){
return $this->price;
}
}
?>