com.tinypass.client.publisher.model.TernChangeConfirmationDto 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.UserAddressDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
public class TernChangeConfirmationDto {
/* The name of the \"From\" term */
private String fromTermName = null;
/* The name of the \"To\" term */
private String toTermName = null;
/* The subscription end date */
private Integer endDate = null;
/* The access start date (unix) */
private Integer accessStartDate = null;
/* The name of the \"From\" resource */
private String fromResourceName = null;
/* The name of the \"To\" resource */
private String toResourceName = null;
/* The \"From\" billing plan */
private String fromBillingPlan = null;
/* The \"To\" billing plan */
private String toBillingPlan = null;
/* Date of next bill */
private Integer nextBillDate = null;
/* The refund amount in case of term downgrade */
private String prorateRefundAmount = null;
/* The actual upgrade cost excluding taxes: the unused money of the FROM term deducted from the TO term price */
private BigDecimal prorateAmount = null;
/* Term change prorate amount text */
private String prorateAmountDisplay = null;
/* Term change prorate amount with taxes */
private String prorateAmountWithTaxes = null;
/* The payment method of the subscription */
private String paymentMethod = null;
/* The user address entity */
private UserAddressDto userAddress = null;
/* Whether the access should be given immediately. Irrelevant if the \"billing_timing\" is 0. */
private Boolean immediateAccess = null;
/* Whether the billing should be executed immediately. */
private Boolean immediateBilling = null;
/* Full amount of term upgrade */
private BigDecimal toTermAmount = null;
/* Full price of term upgrade */
private String toTermAmountDisplay = null;
/* Price with taxes of term upgrade */
private String toTermAmountWithTaxes = null;
/* The expiration month of the card */
private Integer upiExpirationMonth = null;
/* The expiration year of the card */
private Integer upiExpirationYear = null;
/* The shared account limit */
private Integer sharedAccountLimit = null;
/* Shared accounts count */
private Integer sharedAccountCount = null;
/* Whether the Prorate billing amount function is enabled */
private Boolean prorateAccess = null;
/* Prorate unused amount */
private String prorateUnusedAmount = null;
/* Billing timing is changed */
private Boolean billingTimingChanged = null;
public String getFromTermName() {
return fromTermName;
}
public void setFromTermName(String fromTermName) {
this.fromTermName = fromTermName;
}
public String getToTermName() {
return toTermName;
}
public void setToTermName(String toTermName) {
this.toTermName = toTermName;
}
public Integer getEndDate() {
return endDate;
}
public void setEndDate(Integer endDate) {
this.endDate = endDate;
}
public Integer getAccessStartDate() {
return accessStartDate;
}
public void setAccessStartDate(Integer accessStartDate) {
this.accessStartDate = accessStartDate;
}
public String getFromResourceName() {
return fromResourceName;
}
public void setFromResourceName(String fromResourceName) {
this.fromResourceName = fromResourceName;
}
public String getToResourceName() {
return toResourceName;
}
public void setToResourceName(String toResourceName) {
this.toResourceName = toResourceName;
}
public String getFromBillingPlan() {
return fromBillingPlan;
}
public void setFromBillingPlan(String fromBillingPlan) {
this.fromBillingPlan = fromBillingPlan;
}
public String getToBillingPlan() {
return toBillingPlan;
}
public void setToBillingPlan(String toBillingPlan) {
this.toBillingPlan = toBillingPlan;
}
public Integer getNextBillDate() {
return nextBillDate;
}
public void setNextBillDate(Integer nextBillDate) {
this.nextBillDate = nextBillDate;
}
public String getProrateRefundAmount() {
return prorateRefundAmount;
}
public void setProrateRefundAmount(String prorateRefundAmount) {
this.prorateRefundAmount = prorateRefundAmount;
}
public BigDecimal getProrateAmount() {
return prorateAmount;
}
public void setProrateAmount(BigDecimal prorateAmount) {
this.prorateAmount = prorateAmount;
}
public String getProrateAmountDisplay() {
return prorateAmountDisplay;
}
public void setProrateAmountDisplay(String prorateAmountDisplay) {
this.prorateAmountDisplay = prorateAmountDisplay;
}
public String getProrateAmountWithTaxes() {
return prorateAmountWithTaxes;
}
public void setProrateAmountWithTaxes(String prorateAmountWithTaxes) {
this.prorateAmountWithTaxes = prorateAmountWithTaxes;
}
public String getPaymentMethod() {
return paymentMethod;
}
public void setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
}
public UserAddressDto getUserAddress() {
return userAddress;
}
public void setUserAddress(UserAddressDto userAddress) {
this.userAddress = userAddress;
}
public Boolean getImmediateAccess() {
return immediateAccess;
}
public void setImmediateAccess(Boolean immediateAccess) {
this.immediateAccess = immediateAccess;
}
public Boolean getImmediateBilling() {
return immediateBilling;
}
public void setImmediateBilling(Boolean immediateBilling) {
this.immediateBilling = immediateBilling;
}
public BigDecimal getToTermAmount() {
return toTermAmount;
}
public void setToTermAmount(BigDecimal toTermAmount) {
this.toTermAmount = toTermAmount;
}
public String getToTermAmountDisplay() {
return toTermAmountDisplay;
}
public void setToTermAmountDisplay(String toTermAmountDisplay) {
this.toTermAmountDisplay = toTermAmountDisplay;
}
public String getToTermAmountWithTaxes() {
return toTermAmountWithTaxes;
}
public void setToTermAmountWithTaxes(String toTermAmountWithTaxes) {
this.toTermAmountWithTaxes = toTermAmountWithTaxes;
}
public Integer getUpiExpirationMonth() {
return upiExpirationMonth;
}
public void setUpiExpirationMonth(Integer upiExpirationMonth) {
this.upiExpirationMonth = upiExpirationMonth;
}
public Integer getUpiExpirationYear() {
return upiExpirationYear;
}
public void setUpiExpirationYear(Integer upiExpirationYear) {
this.upiExpirationYear = upiExpirationYear;
}
public Integer getSharedAccountLimit() {
return sharedAccountLimit;
}
public void setSharedAccountLimit(Integer sharedAccountLimit) {
this.sharedAccountLimit = sharedAccountLimit;
}
public Integer getSharedAccountCount() {
return sharedAccountCount;
}
public void setSharedAccountCount(Integer sharedAccountCount) {
this.sharedAccountCount = sharedAccountCount;
}
public Boolean getProrateAccess() {
return prorateAccess;
}
public void setProrateAccess(Boolean prorateAccess) {
this.prorateAccess = prorateAccess;
}
public String getProrateUnusedAmount() {
return prorateUnusedAmount;
}
public void setProrateUnusedAmount(String prorateUnusedAmount) {
this.prorateUnusedAmount = prorateUnusedAmount;
}
public Boolean getBillingTimingChanged() {
return billingTimingChanged;
}
public void setBillingTimingChanged(Boolean billingTimingChanged) {
this.billingTimingChanged = billingTimingChanged;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TernChangeConfirmationDto {\n");
sb.append(" fromTermName: ").append(fromTermName).append("\n");
sb.append(" toTermName: ").append(toTermName).append("\n");
sb.append(" endDate: ").append(endDate).append("\n");
sb.append(" accessStartDate: ").append(accessStartDate).append("\n");
sb.append(" fromResourceName: ").append(fromResourceName).append("\n");
sb.append(" toResourceName: ").append(toResourceName).append("\n");
sb.append(" fromBillingPlan: ").append(fromBillingPlan).append("\n");
sb.append(" toBillingPlan: ").append(toBillingPlan).append("\n");
sb.append(" nextBillDate: ").append(nextBillDate).append("\n");
sb.append(" prorateRefundAmount: ").append(prorateRefundAmount).append("\n");
sb.append(" prorateAmount: ").append(prorateAmount).append("\n");
sb.append(" prorateAmountDisplay: ").append(prorateAmountDisplay).append("\n");
sb.append(" prorateAmountWithTaxes: ").append(prorateAmountWithTaxes).append("\n");
sb.append(" paymentMethod: ").append(paymentMethod).append("\n");
sb.append(" userAddress: ").append(userAddress).append("\n");
sb.append(" immediateAccess: ").append(immediateAccess).append("\n");
sb.append(" immediateBilling: ").append(immediateBilling).append("\n");
sb.append(" toTermAmount: ").append(toTermAmount).append("\n");
sb.append(" toTermAmountDisplay: ").append(toTermAmountDisplay).append("\n");
sb.append(" toTermAmountWithTaxes: ").append(toTermAmountWithTaxes).append("\n");
sb.append(" upiExpirationMonth: ").append(upiExpirationMonth).append("\n");
sb.append(" upiExpirationYear: ").append(upiExpirationYear).append("\n");
sb.append(" sharedAccountLimit: ").append(sharedAccountLimit).append("\n");
sb.append(" sharedAccountCount: ").append(sharedAccountCount).append("\n");
sb.append(" prorateAccess: ").append(prorateAccess).append("\n");
sb.append(" prorateUnusedAmount: ").append(prorateUnusedAmount).append("\n");
sb.append(" billingTimingChanged: ").append(billingTimingChanged).append("\n");
sb.append("}\n");
return sb.toString();
}
}