All Downloads are FREE. Search and download functionalities are using the official Maven repository.
Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.tinypass.client.anon.model.TermConversion Maven / Gradle / Ivy
package com.tinypass.client.anon.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.anon.model.Access;
import com.tinypass.client.anon.model.Term;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class TermConversion {
/* The term conversion ID */
private String termConversionId = null;
/* The term that was converted */
private Term term = null;
/* The term conversion type */
private String type = null;
//public enum typeEnum { Unknown, Payment, Subscription, Renewal, Grant access, Gift received, Gift purchased, Registration, Adview, Custom, External, Free promo redemption, External renewal, Provisional, Free renewal, Bill, Upgrade term, Term conversion to wait Instant Payment Notification, Licensee contract redemption, Licensee contract renewal, Shared subscription child grand access, Shared subscription child renew, Upgrade term with grace period, Dynamic term purchase, Dynamic subscription internal renewal, Dynamic subscription external renewal, Link, Upgrade to dynamic term, Upgrade to dynamic term with grace period, Payment subscription renewal with grace period, Dynamic subscription internal renewal with grace period, Dynamic subscription external renewal with grace period, The dynamic subscription has been created as the result of the import, Subscription deferred start, Dynamic term deferred purchase, Deferred payment subscription activation, Deferred dynamic subscription activation, };
/* The application ID */
private String aid = null;
/* The access created as a result of the term conversion */
private Access userAccess = null;
/* The creation date */
private Integer createDate = null;
public String getTermConversionId() {
return termConversionId;
}
public void setTermConversionId(String termConversionId) {
this.termConversionId = termConversionId;
}
public Term getTerm() {
return term;
}
public void setTerm(Term term) {
this.term = term;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public String getAid() {
return aid;
}
public void setAid(String aid) {
this.aid = aid;
}
public Access getUserAccess() {
return userAccess;
}
public void setUserAccess(Access userAccess) {
this.userAccess = userAccess;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermConversion {\n");
sb.append(" termConversionId: ").append(termConversionId).append("\n");
sb.append(" term: ").append(term).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" aid: ").append(aid).append("\n");
sb.append(" userAccess: ").append(userAccess).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append("}\n");
return sb.toString();
}
}