account_id = $data['account_id'];
$this->account_name = $data['account_name'];
$this->phone_number = $data['phone_number'];
$this->address_1 = $data['address_1'];
$this->address_2= $data['address_2'];
$this->city = $data['city'];
$this->state = $data['state'];
$this->zip_code = $data['zip_code'];
$this->parent_account_id = $data['parent_account_id'];
$this->web_url = $data['web_url'];
}
public function getParent_Account_ID(){
return $this->parent_account_id;
}
public function getAccount_Name(){
return $this->account_name;
}
public function getAccount_ID(){
return $this->account_id;
}
public function getPhone_Number(){
return $this->phone_number;
}
public function getAddress_1(){
return $this->address_1;
}
public function getAddress_2(){
return $this->address_2;
}
public function getCity(){
return $this->city;
}
public function getState(){
return $this->state;
}
public function getZip_Code(){
return $this->zip_code;
}
public function getWeb_Url(){
return $this->web_url;
}
public function printAccountInfo(){
echo "Name: ". $this->getAccount_Name()."\n
";
echo "Web: ". $this->getWeb_Url()."\n
";
echo "Phone: ". $this->getPhone_Number()."\n
";
echo "Address: ". $this->getAddress_1()."\n
";
if($this->getAddress_2()){
echo "". $this->getAddress_2()."\n
";
}
echo "City: ". $this->getCity()."\n
";
echo "State: ". $this->getState()."\n
";
echo "Zip: ". $this->getZip_Code()."\n
";
}
}
?>