Online-Academy

Look, Read, Understand, Apply

Menu

OOAD - Object Oriented Analysis and Design

Products

<?php
class Products{
    private $department;
    private $price;
    private $product;
    private $quantity;
    public function setAll($department,$price,$product,$quantity){
        $this->department = $department;
        $this->price = $price;
        $this->product = $product;
        $this->quantity = $quantity;
    }
    public function getDepartment(){
        return $this->department;
    }
    public function getPrice(){
        return $this->price;
    }
    public function getProduct(){
        return $this->product;
    }
    public function getQuantity(){
        return $this->quantity; 
    }
}