enterprises.orbital.impl.evexmlapi.act.AccountStatusResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eve-xml-api Show documentation
Show all versions of eve-xml-api Show documentation
Library to interact with EVE XML API servers
package enterprises.orbital.impl.evexmlapi.act;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import enterprises.orbital.evexmlapi.act.IAccountStatus;
import enterprises.orbital.evexmlapi.act.IMultiCharacterTraining;
import enterprises.orbital.impl.evexmlapi.ApiResponse;
public class AccountStatusResponse extends ApiResponse implements IAccountStatus {
private Date paidUntil;
private Date createDate;
private long logonCount;
private long logonMinutes;
private final List multiCharacterTraining = new ArrayList();
public void addMultiCharacterTraining(
ApiMultiCharacterTraining training) {
multiCharacterTraining.add(training);
}
@Override
public List getMultiCharacterTraining() {
List result = new ArrayList();
result.addAll(multiCharacterTraining);
return result;
}
@Override
public Date getPaidUntil() {
return paidUntil;
}
public void setPaidUntil(
Date paidUntil) {
this.paidUntil = paidUntil;
}
@Override
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(
Date createDate) {
this.createDate = createDate;
}
@Override
public long getLogonCount() {
return logonCount;
}
public void setLogonCount(
long logonCount) {
this.logonCount = logonCount;
}
@Override
public long getLogonMinutes() {
return logonMinutes;
}
public void setLogonMinutes(
long logonMinutes) {
this.logonMinutes = logonMinutes;
}
}