com.tinypass.client.publisher.model.UserPaymentDTO 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.Term;
import com.tinypass.client.publisher.model.TermConversionSubscription;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
public class UserPaymentDTO {
/* The user payment ID */
private String userPaymentId = null;
/* The creation date of the user payment (the ISO 8601 format) */
private String createDate = null;
/* The transactions state (\"completed\", \"disputed\" ,\"refunded\", \"verified\", \"canceled\" or \"pending\") */
private String userPaymentState = null;
/* User payment renewal */
private Boolean renewal = null;
/* The user payment amount */
private BigDecimal amount = null;
/* Formatted user payment price include/plus tax */
private String price = null;
/* The user payment currency */
private String currency = null;
/* Whether the user payment is refundable */
private Boolean refundable = null;
private TermConversionSubscription subscription = null;
private Term term = null;
/* The user payment tax */
private BigDecimal tax = null;
/* The tax billing plan */
private String taxBillingPlan = null;
/* The payment method of the user payment */
private String paymentMethod = 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;
/* The external transaction ID for the payment method (user payment info) */
private String externalTransactionId = null;
/* Tracking ID for the payment method (user payment info) */
private String trackingId = null;
/* The original price of the user payment */
private String originalPrice = null;
public String getUserPaymentId() {
return userPaymentId;
}
public void setUserPaymentId(String userPaymentId) {
this.userPaymentId = userPaymentId;
}
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public String getUserPaymentState() {
return userPaymentState;
}
public void setUserPaymentState(String userPaymentState) {
this.userPaymentState = userPaymentState;
}
public Boolean getRenewal() {
return renewal;
}
public void setRenewal(Boolean renewal) {
this.renewal = renewal;
}
public BigDecimal getAmount() {
return amount;
}
public void setAmount(BigDecimal amount) {
this.amount = amount;
}
public String getPrice() {
return price;
}
public void setPrice(String price) {
this.price = price;
}
public String getCurrency() {
return currency;
}
public void setCurrency(String currency) {
this.currency = currency;
}
public Boolean getRefundable() {
return refundable;
}
public void setRefundable(Boolean refundable) {
this.refundable = refundable;
}
public TermConversionSubscription getSubscription() {
return subscription;
}
public void setSubscription(TermConversionSubscription subscription) {
this.subscription = subscription;
}
public Term getTerm() {
return term;
}
public void setTerm(Term term) {
this.term = term;
}
public BigDecimal getTax() {
return tax;
}
public void setTax(BigDecimal tax) {
this.tax = tax;
}
public String getTaxBillingPlan() {
return taxBillingPlan;
}
public void setTaxBillingPlan(String taxBillingPlan) {
this.taxBillingPlan = taxBillingPlan;
}
public String getPaymentMethod() {
return paymentMethod;
}
public void setPaymentMethod(String paymentMethod) {
this.paymentMethod = paymentMethod;
}
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;
}
public String getExternalTransactionId() {
return externalTransactionId;
}
public void setExternalTransactionId(String externalTransactionId) {
this.externalTransactionId = externalTransactionId;
}
public String getTrackingId() {
return trackingId;
}
public void setTrackingId(String trackingId) {
this.trackingId = trackingId;
}
public String getOriginalPrice() {
return originalPrice;
}
public void setOriginalPrice(String originalPrice) {
this.originalPrice = originalPrice;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserPaymentDTO {\n");
sb.append(" userPaymentId: ").append(userPaymentId).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" userPaymentState: ").append(userPaymentState).append("\n");
sb.append(" renewal: ").append(renewal).append("\n");
sb.append(" amount: ").append(amount).append("\n");
sb.append(" price: ").append(price).append("\n");
sb.append(" currency: ").append(currency).append("\n");
sb.append(" refundable: ").append(refundable).append("\n");
sb.append(" subscription: ").append(subscription).append("\n");
sb.append(" term: ").append(term).append("\n");
sb.append(" tax: ").append(tax).append("\n");
sb.append(" taxBillingPlan: ").append(taxBillingPlan).append("\n");
sb.append(" paymentMethod: ").append(paymentMethod).append("\n");
sb.append(" upiExtCustomerId: ").append(upiExtCustomerId).append("\n");
sb.append(" upiExtCustomerIdLabel: ").append(upiExtCustomerIdLabel).append("\n");
sb.append(" externalTransactionId: ").append(externalTransactionId).append("\n");
sb.append(" trackingId: ").append(trackingId).append("\n");
sb.append(" originalPrice: ").append(originalPrice).append("\n");
sb.append("}\n");
return sb.toString();
}
}