com.tinypass.client.publisher.model.UpgradeCheckoutFlow 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.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
public class UpgradeCheckoutFlow {
/* The checkout flow ID */
private String checkoutFlowId = null;
/* The name */
private String name = null;
/* The checkout flow type (\"PURCHASE\" or \"UPGRADE\") */
private String checkoutFlowType = null;
/* The description */
private String description = null;
/* The creation date */
private Integer createDate = null;
private User createBy = null;
/* The update date */
private Integer updateDate = null;
private User updateBy = null;
/* Whether the object is deleted */
private Boolean deleted = null;
/* 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 getCheckoutFlowId() {
return checkoutFlowId;
}
public void setCheckoutFlowId(String checkoutFlowId) {
this.checkoutFlowId = checkoutFlowId;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getCheckoutFlowType() {
return checkoutFlowType;
}
public void setCheckoutFlowType(String checkoutFlowType) {
this.checkoutFlowType = checkoutFlowType;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
public User getCreateBy() {
return createBy;
}
public void setCreateBy(User createBy) {
this.createBy = createBy;
}
public Integer getUpdateDate() {
return updateDate;
}
public void setUpdateDate(Integer updateDate) {
this.updateDate = updateDate;
}
public User getUpdateBy() {
return updateBy;
}
public void setUpdateBy(User updateBy) {
this.updateBy = updateBy;
}
public Boolean getDeleted() {
return deleted;
}
public void setDeleted(Boolean deleted) {
this.deleted = deleted;
}
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 UpgradeCheckoutFlow {\n");
sb.append(" checkoutFlowId: ").append(checkoutFlowId).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" checkoutFlowType: ").append(checkoutFlowType).append("\n");
sb.append(" description: ").append(description).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" createBy: ").append(createBy).append("\n");
sb.append(" updateDate: ").append(updateDate).append("\n");
sb.append(" updateBy: ").append(updateBy).append("\n");
sb.append(" deleted: ").append(deleted).append("\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();
}
}