com.tinypass.client.publisher.model.TargetUpgradeOption Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.BillingTimingOption;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class TargetUpgradeOption {
/* The term ID */
private String termId = null;
/* The term name */
private String termName = null;
/* The term type */
private String type = null;
private List availableBillingTimings = new ArrayList();
/* The description */
private String description = null;
private BillingTimingOption billingTiming = null;
/* Whether the access begins immediately */
private Boolean immediateAccess = null;
/* Type of term change variant (term, recurring_period, ends_on_date_period, unlimited_period) */
private String variantType = null;
/* The period ID */
private String periodId = null;
/* The period name */
private String periodName = null;
/* Whether the property is enabled */
private Boolean enabled = null;
/* The name */
private String name = null;
/* Prevents users from disabling autorenewal (always \"TRUE\" for dynamic terms) */
private Boolean forceAutoRenew = null;
public String getTermId() {
return termId;
}
public void setTermId(String termId) {
this.termId = termId;
}
public String getTermName() {
return termName;
}
public void setTermName(String termName) {
this.termName = termName;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
public List getAvailableBillingTimings() {
return availableBillingTimings;
}
public void setAvailableBillingTimings(List availableBillingTimings) {
this.availableBillingTimings = availableBillingTimings;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public BillingTimingOption getBillingTiming() {
return billingTiming;
}
public void setBillingTiming(BillingTimingOption billingTiming) {
this.billingTiming = billingTiming;
}
public Boolean getImmediateAccess() {
return immediateAccess;
}
public void setImmediateAccess(Boolean immediateAccess) {
this.immediateAccess = immediateAccess;
}
public String getVariantType() {
return variantType;
}
public void setVariantType(String variantType) {
this.variantType = variantType;
}
public String getPeriodId() {
return periodId;
}
public void setPeriodId(String periodId) {
this.periodId = periodId;
}
public String getPeriodName() {
return periodName;
}
public void setPeriodName(String periodName) {
this.periodName = periodName;
}
public Boolean getEnabled() {
return enabled;
}
public void setEnabled(Boolean enabled) {
this.enabled = enabled;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Boolean getForceAutoRenew() {
return forceAutoRenew;
}
public void setForceAutoRenew(Boolean forceAutoRenew) {
this.forceAutoRenew = forceAutoRenew;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TargetUpgradeOption {\n");
sb.append(" termId: ").append(termId).append("\n");
sb.append(" termName: ").append(termName).append("\n");
sb.append(" type: ").append(type).append("\n");
sb.append(" availableBillingTimings: ").append(availableBillingTimings).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" billingTiming: ").append(billingTiming).append("\n");
sb.append(" immediateAccess: ").append(immediateAccess).append("\n");
sb.append(" variantType: ").append(variantType).append("\n");
sb.append(" periodId: ").append(periodId).append("\n");
sb.append(" periodName: ").append(periodName).append("\n");
sb.append(" enabled: ").append(enabled).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" forceAutoRenew: ").append(forceAutoRenew).append("\n");
sb.append("}\n");
return sb.toString();
}
}