class Customer {
- protected $id, $APId, $name;
+ protected $id, $APId, $name, $APContact;
/// CONSTRUCTOR
- function __construct($id = null, $APId = null, $name = null) {
+ function __construct($id = null, $APId = null, $name = null, $APContact = null) {
$this -> id = $id;
$this -> APId = $APId;
$this -> name = $name;
+ $this -> APContact = $APContact;
}
public function getJSONP() {
$array["id"] = $this -> id;
- $array["aPId"] = $this -> APId;
+ $array["APId"] = $this -> APId;
$array["name"] = $this -> name;
+ $array["APContact"] = $this -> APContact;
return json_encode($array);
}
public function getId() { return $this -> id; }
public function getAPId() { return $this->APId; }
public function getName() { return $this->name; }
+ public function getAPContact() { return $this->APContact; }
/// SETTERS
public function setId($id) { $this -> id = $id; }
public function setAPId($APId) { $this->APId = $APId; }
public function setName($name) { $this->name = $name; }
+ public function setAPContact($APContact) { $this->APContact = $APContact; }
}
-
-?>
\ No newline at end of file