com.global.api.entities.billing.TokenData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.entities.billing;
import org.joda.time.DateTime;
import java.util.ArrayList;
import java.util.List;
public class TokenData {
private DateTime lastUsedDateUTC;
private boolean isExpired;
private boolean sharedTokenWithGroup;
private List merchants;
public TokenData() {
merchants = new ArrayList<>();
}
public DateTime getLastUsedDateUTC() {
return lastUsedDateUTC;
}
public void setLastUsedDateUTC(DateTime lastUsedDateUTC) {
this.lastUsedDateUTC = lastUsedDateUTC;
}
public boolean isExpired() {
return isExpired;
}
public void setExpired(boolean expired) {
isExpired = expired;
}
public boolean isSharedTokenWithGroup() {
return sharedTokenWithGroup;
}
public void setSharedTokenWithGroup(boolean sharedTokenWithGroup) {
this.sharedTokenWithGroup = sharedTokenWithGroup;
}
public List getMerchants() {
return merchants;
}
public void setMerchants(List merchants) {
this.merchants = merchants;
}
}