Files
_resources/it114105/itp4513/Assignment/19-20/models/StoreCart.php
louiscklaw 04dbefcbaf update,
2025-02-01 01:58:47 +08:00

35 lines
586 B
PHP

<?php
class StoreCart {
private $storeId;
private $storeName;
private $storeInf;
private $cartList;
function __construct($storeId, $storeName, $storeInf, $cartList){
$this->storeId = $storeId;
$this->storeName = $storeName;
$this->storeInf = $storeInf;
$this->cartList = $cartList;
}
public function getStoreInf(){
return $this->storeInf;
}
public function getCartList(){
return $this->cartList;
}
public function getStoreName(){
return $this->storeName;
}
public function getStoreId(){
return $this->storeId;
}
}
?>