com.tinypass.client.publisher.model.PaymentInquiry 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.App;
import com.tinypass.client.publisher.model.InquiryComment;
import com.tinypass.client.publisher.model.Resource;
import com.tinypass.client.publisher.model.User;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
public class PaymentInquiry {
/* The public ID of the inquiry (not only about payments) */
private String paymentInquiryId = null;
/* The resource */
private Resource resource = null;
/* The application ref */
private App app = null;
/* The inquiry state */
private Integer state = null;
//public enum stateEnum { 0, 1, 2, 3, };
/* The inquiry reason */
private String inquiryReason = null;
/* The creation date */
private String createDate = null;
private List inquiryComments = new ArrayList();
/* The inquiry category */
private String category = null;
private User updateStateBy = null;
/* The date when the state was updated */
private String updateStateDate = null;
/* The start date. */
private String startDate = null;
/* The new expire date */
private String expireDate = null;
/* The transaction date */
private String transactionDate = null;
/* The transaction ID */
private String transactionId = null;
/* The money spent */
private BigDecimal spentMoney = null;
/* Spent money text */
private String spentMoneyDisplay = null;
/* The source */
private String source = null;
/* The user payment currency */
private String currency = null;
/* The refund date */
private String refundedDate = null;
/* Whether the access is expired */
private Boolean isAccessExpired = null;
/* Whether the access is revoked */
private Boolean isAccessRevoked = null;
/* Whether the access is unlimited */
private Boolean isAccessUnlimited = null;
/* The user payment amount refunded, before tax */
private String refundAmount = null;
/* Refund amount was recalculated before */
private Boolean refundAmountRecalculated = null;
public String getPaymentInquiryId() {
return paymentInquiryId;
}
public void setPaymentInquiryId(String paymentInquiryId) {
this.paymentInquiryId = paymentInquiryId;
}
public Resource getResource() {
return resource;
}
public void setResource(Resource resource) {
this.resource = resource;
}
public App getApp() {
return app;
}
public void setApp(App app) {
this.app = app;
}
public Integer getState() {
return state;
}
public void setState(Integer state) {
this.state = state;
}
public String getInquiryReason() {
return inquiryReason;
}
public void setInquiryReason(String inquiryReason) {
this.inquiryReason = inquiryReason;
}
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public List getInquiryComments() {
return inquiryComments;
}
public void setInquiryComments(List inquiryComments) {
this.inquiryComments = inquiryComments;
}
public String getCategory() {
return category;
}
public void setCategory(String category) {
this.category = category;
}
public User getUpdateStateBy() {
return updateStateBy;
}
public void setUpdateStateBy(User updateStateBy) {
this.updateStateBy = updateStateBy;
}
public String getUpdateStateDate() {
return updateStateDate;
}
public void setUpdateStateDate(String updateStateDate) {
this.updateStateDate = updateStateDate;
}
public String getStartDate() {
return startDate;
}
public void setStartDate(String startDate) {
this.startDate = startDate;
}
public String getExpireDate() {
return expireDate;
}
public void setExpireDate(String expireDate) {
this.expireDate = expireDate;
}
public String getTransactionDate() {
return transactionDate;
}
public void setTransactionDate(String transactionDate) {
this.transactionDate = transactionDate;
}
public String getTransactionId() {
return transactionId;
}
public void setTransactionId(String transactionId) {
this.transactionId = transactionId;
}
public BigDecimal getSpentMoney() {
return spentMoney;
}
public void setSpentMoney(BigDecimal spentMoney) {
this.spentMoney = spentMoney;
}
public String getSpentMoneyDisplay() {
return spentMoneyDisplay;
}
public void setSpentMoneyDisplay(String spentMoneyDisplay) {
this.spentMoneyDisplay = spentMoneyDisplay;
}
public String getSource() {
return source;
}
public void setSource(String source) {
this.source = source;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public String getRefundedDate() {
return refundedDate;
}
public void setRefundedDate(String refundedDate) {
this.refundedDate = refundedDate;
}
public Boolean getIsAccessExpired() {
return isAccessExpired;
}
public void setIsAccessExpired(Boolean isAccessExpired) {
this.isAccessExpired = isAccessExpired;
}
public Boolean getIsAccessRevoked() {
return isAccessRevoked;
}
public void setIsAccessRevoked(Boolean isAccessRevoked) {
this.isAccessRevoked = isAccessRevoked;
}
public Boolean getIsAccessUnlimited() {
return isAccessUnlimited;
}
public void setIsAccessUnlimited(Boolean isAccessUnlimited) {
this.isAccessUnlimited = isAccessUnlimited;
}
public String getRefundAmount() {
return refundAmount;
}
public void setRefundAmount(String refundAmount) {
this.refundAmount = refundAmount;
}
public Boolean getRefundAmountRecalculated() {
return refundAmountRecalculated;
}
public void setRefundAmountRecalculated(Boolean refundAmountRecalculated) {
this.refundAmountRecalculated = refundAmountRecalculated;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class PaymentInquiry {\n");
sb.append(" paymentInquiryId: ").append(paymentInquiryId).append("\n");
sb.append(" resource: ").append(resource).append("\n");
sb.append(" app: ").append(app).append("\n");
sb.append(" state: ").append(state).append("\n");
sb.append(" inquiryReason: ").append(inquiryReason).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" inquiryComments: ").append(inquiryComments).append("\n");
sb.append(" category: ").append(category).append("\n");
sb.append(" updateStateBy: ").append(updateStateBy).append("\n");
sb.append(" updateStateDate: ").append(updateStateDate).append("\n");
sb.append(" startDate: ").append(startDate).append("\n");
sb.append(" expireDate: ").append(expireDate).append("\n");
sb.append(" transactionDate: ").append(transactionDate).append("\n");
sb.append(" transactionId: ").append(transactionId).append("\n");
sb.append(" spentMoney: ").append(spentMoney).append("\n");
sb.append(" spentMoneyDisplay: ").append(spentMoneyDisplay).append("\n");
sb.append(" source: ").append(source).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append(" refundedDate: ").append(refundedDate).append("\n");
sb.append(" isAccessExpired: ").append(isAccessExpired).append("\n");
sb.append(" isAccessRevoked: ").append(isAccessRevoked).append("\n");
sb.append(" isAccessUnlimited: ").append(isAccessUnlimited).append("\n");
sb.append(" refundAmount: ").append(refundAmount).append("\n");
sb.append(" refundAmountRecalculated: ").append(refundAmountRecalculated).append("\n");
sb.append("}\n");
return sb.toString();
}
}