com.tinypass.client.publisher.model.TargetTermChangeVariant 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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;
public class TargetTermChangeVariant {
/* The name */
private String name = null;
/* The term ID */
private String termId = null;
/* The term name */
private String termName = null;
/* The term type */
private String termType = null;
/* The period ID */
private String periodId = null;
/* The period name */
private String periodName = null;
/* The billing plan for the term */
private String paymentBillingPlan = null;
/* Type of term change variant (term, recurring_period, ends_on_date_period, unlimited_period) */
private String variantType = null;
/* Tooltip for unchangeable term */
private String tooltip = null;
/* Whether this term cannot be changed to another with prorate */
private String prorateDisabled = null;
/* Whether the property is enabled */
private String enabled = null;
private List availableBillingTimings = new ArrayList();
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
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 getTermType() {
return termType;
}
public void setTermType(String termType) {
this.termType = termType;
}
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 String getPaymentBillingPlan() {
return paymentBillingPlan;
}
public void setPaymentBillingPlan(String paymentBillingPlan) {
this.paymentBillingPlan = paymentBillingPlan;
}
public String getVariantType() {
return variantType;
}
public void setVariantType(String variantType) {
this.variantType = variantType;
}
public String getTooltip() {
return tooltip;
}
public void setTooltip(String tooltip) {
this.tooltip = tooltip;
}
public String getProrateDisabled() {
return prorateDisabled;
}
public void setProrateDisabled(String prorateDisabled) {
this.prorateDisabled = prorateDisabled;
}
public String getEnabled() {
return enabled;
}
public void setEnabled(String enabled) {
this.enabled = enabled;
}
public List getAvailableBillingTimings() {
return availableBillingTimings;
}
public void setAvailableBillingTimings(List availableBillingTimings) {
this.availableBillingTimings = availableBillingTimings;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TargetTermChangeVariant {\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" termId: ").append(termId).append("\n");
sb.append(" termName: ").append(termName).append("\n");
sb.append(" termType: ").append(termType).append("\n");
sb.append(" periodId: ").append(periodId).append("\n");
sb.append(" periodName: ").append(periodName).append("\n");
sb.append(" paymentBillingPlan: ").append(paymentBillingPlan).append("\n");
sb.append(" variantType: ").append(variantType).append("\n");
sb.append(" tooltip: ").append(tooltip).append("\n");
sb.append(" prorateDisabled: ").append(prorateDisabled).append("\n");
sb.append(" enabled: ").append(enabled).append("\n");
sb.append(" availableBillingTimings: ").append(availableBillingTimings).append("\n");
sb.append("}\n");
return sb.toString();
}
}