com.tinypass.client.publisher.model.UpgradeSubscriptionStep 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 com.tinypass.client.publisher.model.TermShort;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class UpgradeSubscriptionStep {
/* Replacing term */
private TermShort fromTerm = null;
/* Substitute term */
private TermShort toTerm = null;
private BillingTimingOption billingTiming = null;
/* Whether the access begins immediately */
private Boolean immediateAccess = null;
/* Include subscriptions with auto-renew flag turned off */
private Boolean includeAutoRenewOff = null;
/* Do not send upgrade scheduling emails, even if they are configured in the application */
private Boolean doNotSendEmails = null;
public TermShort getFromTerm() {
return fromTerm;
}
public void setFromTerm(TermShort fromTerm) {
this.fromTerm = fromTerm;
}
public TermShort getToTerm() {
return toTerm;
}
public void setToTerm(TermShort toTerm) {
this.toTerm = toTerm;
}
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 Boolean getIncludeAutoRenewOff() {
return includeAutoRenewOff;
}
public void setIncludeAutoRenewOff(Boolean includeAutoRenewOff) {
this.includeAutoRenewOff = includeAutoRenewOff;
}
public Boolean getDoNotSendEmails() {
return doNotSendEmails;
}
public void setDoNotSendEmails(Boolean doNotSendEmails) {
this.doNotSendEmails = doNotSendEmails;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UpgradeSubscriptionStep {\n");
sb.append(" fromTerm: ").append(fromTerm).append("\n");
sb.append(" toTerm: ").append(toTerm).append("\n");
sb.append(" billingTiming: ").append(billingTiming).append("\n");
sb.append(" immediateAccess: ").append(immediateAccess).append("\n");
sb.append(" includeAutoRenewOff: ").append(includeAutoRenewOff).append("\n");
sb.append(" doNotSendEmails: ").append(doNotSendEmails).append("\n");
sb.append("}\n");
return sb.toString();
}
}