update,
This commit is contained in:
34
it114105/itp4513/Assignment/19-20/models/StoreCart.php
Normal file
34
it114105/itp4513/Assignment/19-20/models/StoreCart.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?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;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
Reference in New Issue
Block a user