Skip to content

Commit

Permalink
Charity class
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianBalunan committed Feb 19, 2026
1 parent 1204060 commit 5164341
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ public Charity(String name, String description, String category) {

/**
* Getters for the charity's attributes.
*
* @return
*/
public UUID getId() {
return id;
Expand All @@ -69,9 +67,18 @@ public boolean isVerified() {
return isVerified;
}

/**
* Setter for verification status.
* This one sets the charity as verified.
*/
public void setVerified() {
this.isVerified = true;
}

/**
* Setter for verification status.
* This one sets the charity as unverified.
*/
public void setUnverified() {
this.isVerified = false;
}
Expand Down
Binary file not shown.

0 comments on commit 5164341

Please sign in to comment.