1 package org.cacert.gigi.dbObjects;
3 import org.cacert.gigi.dbObjects.wrappers.DataContainer;
6 public class Assurance {
8 public enum AssuranceType {
9 FACE_TO_FACE("Face to Face Meeting"), TOPUP("TOPUP"), TTP_ASSISTED("TTP-Assisted"), NUCLEUS("Nucleus Bonus");
11 private final String description;
13 private AssuranceType(String description) {
14 this.description = description;
17 public String getDescription() {
28 private String location;
30 private String method;
36 public Assurance(int id, User from, User to, String location, String method, int points, String date) {
40 this.location = location;
47 public User getFrom() {
55 public String getLocation() {
59 public int getPoints() {
67 public String getMethod() {
71 public String getDate() {