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 private Country country;
38 public Assurance(int id, User from, Name to, String location, String method, int points, String date, Country country) {
42 this.location = location;
46 this.country = country;
50 public User getFrom() {
58 public String getLocation() {
62 public int getPoints() {
70 public String getMethod() {
74 public String getDate() {
78 public Country getCountry() {