com.tinypass.client.publisher.model.TermConversionSubscription 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.Resource;
import com.tinypass.client.publisher.model.Term;
import com.tinypass.client.publisher.model.User;
import com.tinypass.client.publisher.model.UserAddress;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;
public class TermConversionSubscription {
/* The user subscription ID */
private String subscriptionId = null;
/* Whether auto renewal is enabled for the subscription */
private Boolean autoRenew = null;
/* The next bill date of the subscription */
private Integer nextBillDate = null;
/* The payment method of the subscription */
private String paymentMethod = null;
/* The billing plan of the subscription */
private String billingPlan = null;
/* The user payment info ID */
private String userPaymentInfoId = null;
/* The subscription status */
private String status = null;
/* The name of the subscription status */
private String statusName = null;
/* The subscription status name in reports */
private String statusNameInReports = null;
private Term term = null;
/* The resource */
private Resource resource = null;
/* The user */
private User user = null;
/* The start date. */
private Integer startDate = null;
/* Whether this subscription can be cancelled; cancelling means thatthe access will not be prolonged and the current access will be revoked */
private Boolean cancelable = null;
/* The user address entity */
private UserAddress userAddress = null;
/* The PSC subscriber number */
private String pscSubscriberNumber = null;
/* The name of the external API configuration */
private String externalApiName = null;
/* The conversion result */
private String conversionResult = null;
/* Whether the subscription is currently in trial period */
private Boolean isInTrial = null;
/* The date when the trial period ends */
private Integer trialPeriodEndDate = null;
/* The price of the trial period */
private BigDecimal trialAmount = null;
/* The currency of the trial period */
private String trialCurrency = null;
/* The subscription end date */
private Integer endDate = null;
/* The user subscription charge count */
private Integer chargeCount = null;
/* The external customer ID of the payment method (user payment info) */
private String upiExtCustomerId = null;
/* The label of the external customer ID for the payment method (user payment info) */
private String upiExtCustomerIdLabel = null;
public String getSubscriptionId() {
return subscriptionId;
}
public void setSubscriptionId(String subscriptionId) {
this.subscriptionId = subscriptionId;
}
public Boolean getAutoRenew() {
return autoRenew;
}
public void setAutoRenew(Boolean autoRenew) {
this.autoRenew = autoRenew;
}
public Integer getNextBillDate() {
return nextBillDate;
}
public void setNextBillDate(Integer nextBillDate) {
this.nextBillDate = nextBillDate;
}
public String getPaymentMethod() {
return paymentMethod;
}
public void setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
}
public String getBillingPlan() {
return billingPlan;
}
public void setBillingPlan(String billingPlan) {
this.billingPlan = billingPlan;
}
public String getUserPaymentInfoId() {
return userPaymentInfoId;
}
public void setUserPaymentInfoId(String userPaymentInfoId) {
this.userPaymentInfoId = userPaymentInfoId;
}
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public String getStatusName() {
return statusName;
}
public void setStatusName(String statusName) {
this.statusName = statusName;
}
public String getStatusNameInReports() {
return statusNameInReports;
}
public void setStatusNameInReports(String statusNameInReports) {
this.statusNameInReports = statusNameInReports;
}
public Term getTerm() {
return term;
}
public void setTerm(Term term) {
this.term = term;
}
public Resource getResource() {
return resource;
}
public void setResource(Resource resource) {
this.resource = resource;
}
public User getUser() {
return user;
}
public void setUser(User user) {
this.user = user;
}
public Integer getStartDate() {
return startDate;
}
public void setStartDate(Integer startDate) {
this.startDate = startDate;
}
public Boolean getCancelable() {
return cancelable;
}
public void setCancelable(Boolean cancelable) {
this.cancelable = cancelable;
}
public UserAddress getUserAddress() {
return userAddress;
}
public void setUserAddress(UserAddress userAddress) {
this.userAddress = userAddress;
}
public String getPscSubscriberNumber() {
return pscSubscriberNumber;
}
public void setPscSubscriberNumber(String pscSubscriberNumber) {
this.pscSubscriberNumber = pscSubscriberNumber;
}
public String getExternalApiName() {
return externalApiName;
}
public void setExternalApiName(String externalApiName) {
this.externalApiName = externalApiName;
}
public String getConversionResult() {
return conversionResult;
}
public void setConversionResult(String conversionResult) {
this.conversionResult = conversionResult;
}
public Boolean getIsInTrial() {
return isInTrial;
}
public void setIsInTrial(Boolean isInTrial) {
this.isInTrial = isInTrial;
}
public Integer getTrialPeriodEndDate() {
return trialPeriodEndDate;
}
public void setTrialPeriodEndDate(Integer trialPeriodEndDate) {
this.trialPeriodEndDate = trialPeriodEndDate;
}
public BigDecimal getTrialAmount() {
return trialAmount;
}
public void setTrialAmount(BigDecimal trialAmount) {
this.trialAmount = trialAmount;
}
public String getTrialCurrency() {
return trialCurrency;
}
public void setTrialCurrency(String trialCurrency) {
this.trialCurrency = trialCurrency;
}
public Integer getEndDate() {
return endDate;
}
public void setEndDate(Integer endDate) {
this.endDate = endDate;
}
public Integer getChargeCount() {
return chargeCount;
}
public void setChargeCount(Integer chargeCount) {
this.chargeCount = chargeCount;
}
public String getUpiExtCustomerId() {
return upiExtCustomerId;
}
public void setUpiExtCustomerId(String upiExtCustomerId) {
this.upiExtCustomerId = upiExtCustomerId;
}
public String getUpiExtCustomerIdLabel() {
return upiExtCustomerIdLabel;
}
public void setUpiExtCustomerIdLabel(String upiExtCustomerIdLabel) {
this.upiExtCustomerIdLabel = upiExtCustomerIdLabel;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class TermConversionSubscription {\n");
sb.append(" subscriptionId: ").append(subscriptionId).append("\n");
sb.append(" autoRenew: ").append(autoRenew).append("\n");
sb.append(" nextBillDate: ").append(nextBillDate).append("\n");
sb.append(" paymentMethod: ").append(paymentMethod).append("\n");
sb.append(" billingPlan: ").append(billingPlan).append("\n");
sb.append(" userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
sb.append(" status: ").append(status).append("\n");
sb.append(" statusName: ").append(statusName).append("\n");
sb.append(" statusNameInReports: ").append(statusNameInReports).append("\n");
sb.append(" term: ").append(term).append("\n");
sb.append(" resource: ").append(resource).append("\n");
sb.append(" user: ").append(user).append("\n");
sb.append(" startDate: ").append(startDate).append("\n");
sb.append(" cancelable: ").append(cancelable).append("\n");
sb.append(" userAddress: ").append(userAddress).append("\n");
sb.append(" pscSubscriberNumber: ").append(pscSubscriberNumber).append("\n");
sb.append(" externalApiName: ").append(externalApiName).append("\n");
sb.append(" conversionResult: ").append(conversionResult).append("\n");
sb.append(" isInTrial: ").append(isInTrial).append("\n");
sb.append(" trialPeriodEndDate: ").append(trialPeriodEndDate).append("\n");
sb.append(" trialAmount: ").append(trialAmount).append("\n");
sb.append(" trialCurrency: ").append(trialCurrency).append("\n");
sb.append(" endDate: ").append(endDate).append("\n");
sb.append(" chargeCount: ").append(chargeCount).append("\n");
sb.append(" upiExtCustomerId: ").append(upiExtCustomerId).append("\n");
sb.append(" upiExtCustomerIdLabel: ").append(upiExtCustomerIdLabel).append("\n");
sb.append("}\n");
return sb.toString();
}
}