com.tinypass.client.publisher.model.TermChangeParams 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;
public class TermChangeParams {
/* The billing timing(0: immediate term change;1: term change at the end of the current cycle;2: term change on the next sell date;3: term change at the end of the current period) */
private String billingTiming = null;
/* Whether the access begins immediately */
private Boolean immediateAccess = null;
/* Whether the Prorate billing amount function is enabled */
private Boolean prorateAccess = null;
public String getBillingTiming() {
return billingTiming;
}
public void setBillingTiming(String billingTiming) {
this.billingTiming = billingTiming;
}
public Boolean getImmediateAccess() {
return immediateAccess;
}
public void setImmediateAccess(Boolean immediateAccess) {
this.immediateAccess = immediateAccess;
}
public Boolean getProrateAccess() {
return prorateAccess;
}
public void setProrateAccess(Boolean prorateAccess) {
this.prorateAccess = prorateAccess;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermChangeParams {\n");
sb.append(" billingTiming: ").append(billingTiming).append("\n");
sb.append(" immediateAccess: ").append(immediateAccess).append("\n");
sb.append(" prorateAccess: ").append(prorateAccess).append("\n");
sb.append("}\n");
return sb.toString();
}
}