Refactory
[smsapi-java.git] / src / pl / smsapi / api / response / UserResponse.java
blobcf8c366354181251d30265612169bcf2884c3548
1 package pl.smsapi.api.response;
3 public class UserResponse implements Response {
5 private String username;
6 private double limit;
7 private double monthLimit;
8 private int senders;
9 private int phonebook;
10 private int active;
11 private String info;
13 public UserResponse(String username, double limit, double month_limit, int senders, int phonebook, int active, String info) {
14 this.username = username;
15 this.limit = limit;
16 this.monthLimit = month_limit;
17 this.senders = senders;
18 this.phonebook = phonebook;
19 this.active = active;
20 this.info = info;
23 public String getUsername() {
24 return username;
27 public double getLimit() {
28 return limit;
31 public double getMonthLimit() {
32 return monthLimit;
35 public int getSenders() {
36 return senders;
39 public int getPhonebook() {
40 return phonebook;
43 public int getActive() {
44 return active;
47 public String getInfo() {
48 return info;