All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.TransactionItem Maven / Gradle / Ivy

There is a newer version: 16.366.0
Show newest version
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.math.BigDecimal;
import java.util.Date;

public class TransactionItem {

  /* The user payment ID */
  private String userPaymentId = null;
  

  /* The term name */
  private String name = null;
  

  /* The billing plan for the term */
  private String paymentBillingPlan = null;
  

  /* The user payment amount */
  private BigDecimal amount = null;
  

  /* The amount of the refund to the user */
  private BigDecimal refundAmount = null;
  

  /* The payment method of the subscription */
  private String paymentMethod = null;
  

  /* The user payment info ID */
  private String userPaymentInfoId = null;
  

  /* Subscription payment method with CC type */
  private String paymentMethodType = null;
  

  /* The user payment status. */
  private String status = null;
  

  /* The user payment status value */
  private Integer statusValue = null;
  

  /* The URL of the resource image */
  private String resourceImageUrl = null;
  

  /* The name of the resource */
  private String resourceName = null;
  

  /* The resource ID */
  private String rid = null;
  

  /* The currency code under ISO 4217 */
  private String currencyCode = null;
  

  /* Customer */
  private String customer = null;
  

  /* Date */
  private Date date = null;
  

  /* The external user payment ID */
  private String externalId = null;
  

  /* The ID of the external refund transaction */
  private String refundExternalTxId = null;
  

  /* The user ID */
  private String uid = null;
  

  /* The term ID */
  private String termId = null;
  

  /* Formatted user payment price include/plus tax */
  private BigDecimal price = null;
  

  /* Formatted user payment price display text */
  private String priceDisplay = null;
  

  /* Currency */
  private String currency = null;
  

  /* Expires */
  private Integer expires = null;
  

  /* Price with tax */
  private String taxedPrice = 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;
  

  /* Transaction Type */
  private String transactionType = null;
  

  /* The currency symbol */
  private String currencySymbol = null;
  


  public String getUserPaymentId() {
    return userPaymentId;
  }
  public void setUserPaymentId(String userPaymentId) {
    this.userPaymentId = userPaymentId;
  }


  public String getName() {
    return name;
  }
  public void setName(String name) {
    this.name = name;
  }


  public String getPaymentBillingPlan() {
    return paymentBillingPlan;
  }
  public void setPaymentBillingPlan(String paymentBillingPlan) {
    this.paymentBillingPlan = paymentBillingPlan;
  }


  public BigDecimal getAmount() {
    return amount;
  }
  public void setAmount(BigDecimal amount) {
    this.amount = amount;
  }


  public BigDecimal getRefundAmount() {
    return refundAmount;
  }
  public void setRefundAmount(BigDecimal refundAmount) {
    this.refundAmount = refundAmount;
  }


  public String getPaymentMethod() {
    return paymentMethod;
  }
  public void setPaymentMethod(String paymentMethod) {
    this.paymentMethod = paymentMethod;
  }


  public String getUserPaymentInfoId() {
    return userPaymentInfoId;
  }
  public void setUserPaymentInfoId(String userPaymentInfoId) {
    this.userPaymentInfoId = userPaymentInfoId;
  }


  public String getPaymentMethodType() {
    return paymentMethodType;
  }
  public void setPaymentMethodType(String paymentMethodType) {
    this.paymentMethodType = paymentMethodType;
  }


  public String getStatus() {
    return status;
  }
  public void setStatus(String status) {
    this.status = status;
  }


  public Integer getStatusValue() {
    return statusValue;
  }
  public void setStatusValue(Integer statusValue) {
    this.statusValue = statusValue;
  }


  public String getResourceImageUrl() {
    return resourceImageUrl;
  }
  public void setResourceImageUrl(String resourceImageUrl) {
    this.resourceImageUrl = resourceImageUrl;
  }


  public String getResourceName() {
    return resourceName;
  }
  public void setResourceName(String resourceName) {
    this.resourceName = resourceName;
  }


  public String getRid() {
    return rid;
  }
  public void setRid(String rid) {
    this.rid = rid;
  }


  public String getCurrencyCode() {
    return currencyCode;
  }
  public void setCurrencyCode(String currencyCode) {
    this.currencyCode = currencyCode;
  }


  public String getCustomer() {
    return customer;
  }
  public void setCustomer(String customer) {
    this.customer = customer;
  }


  public Date getDate() {
    return date;
  }
  public void setDate(Date date) {
    this.date = date;
  }


  public String getExternalId() {
    return externalId;
  }
  public void setExternalId(String externalId) {
    this.externalId = externalId;
  }


  public String getRefundExternalTxId() {
    return refundExternalTxId;
  }
  public void setRefundExternalTxId(String refundExternalTxId) {
    this.refundExternalTxId = refundExternalTxId;
  }


  public String getUid() {
    return uid;
  }
  public void setUid(String uid) {
    this.uid = uid;
  }


  public String getTermId() {
    return termId;
  }
  public void setTermId(String termId) {
    this.termId = termId;
  }


  public BigDecimal getPrice() {
    return price;
  }
  public void setPrice(BigDecimal price) {
    this.price = price;
  }


  public String getPriceDisplay() {
    return priceDisplay;
  }
  public void setPriceDisplay(String priceDisplay) {
    this.priceDisplay = priceDisplay;
  }


  public String getCurrency() {
    return currency;
  }
  public void setCurrency(String currency) {
    this.currency = currency;
  }


  public Integer getExpires() {
    return expires;
  }
  public void setExpires(Integer expires) {
    this.expires = expires;
  }


  public String getTaxedPrice() {
    return taxedPrice;
  }
  public void setTaxedPrice(String taxedPrice) {
    this.taxedPrice = taxedPrice;
  }


  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 getTransactionType() {
    return transactionType;
  }
  public void setTransactionType(String transactionType) {
    this.transactionType = transactionType;
  }


  public String getCurrencySymbol() {
    return currencySymbol;
  }
  public void setCurrencySymbol(String currencySymbol) {
    this.currencySymbol = currencySymbol;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class TransactionItem {\n");
    sb.append("  userPaymentId: ").append(userPaymentId).append("\n");
    sb.append("  name: ").append(name).append("\n");
    sb.append("  paymentBillingPlan: ").append(paymentBillingPlan).append("\n");
    sb.append("  amount: ").append(amount).append("\n");
    sb.append("  refundAmount: ").append(refundAmount).append("\n");
    sb.append("  paymentMethod: ").append(paymentMethod).append("\n");
    sb.append("  userPaymentInfoId: ").append(userPaymentInfoId).append("\n");
    sb.append("  paymentMethodType: ").append(paymentMethodType).append("\n");
    sb.append("  status: ").append(status).append("\n");
    sb.append("  statusValue: ").append(statusValue).append("\n");
    sb.append("  resourceImageUrl: ").append(resourceImageUrl).append("\n");
    sb.append("  resourceName: ").append(resourceName).append("\n");
    sb.append("  rid: ").append(rid).append("\n");
    sb.append("  currencyCode: ").append(currencyCode).append("\n");
    sb.append("  customer: ").append(customer).append("\n");
    sb.append("  date: ").append(date).append("\n");
    sb.append("  externalId: ").append(externalId).append("\n");
    sb.append("  refundExternalTxId: ").append(refundExternalTxId).append("\n");
    sb.append("  uid: ").append(uid).append("\n");
    sb.append("  termId: ").append(termId).append("\n");
    sb.append("  price: ").append(price).append("\n");
    sb.append("  priceDisplay: ").append(priceDisplay).append("\n");
    sb.append("  currency: ").append(currency).append("\n");
    sb.append("  expires: ").append(expires).append("\n");
    sb.append("  taxedPrice: ").append(taxedPrice).append("\n");
    sb.append("  upiExtCustomerId: ").append(upiExtCustomerId).append("\n");
    sb.append("  upiExtCustomerIdLabel: ").append(upiExtCustomerIdLabel).append("\n");
    sb.append("  transactionType: ").append(transactionType).append("\n");
    sb.append("  currencySymbol: ").append(currencySymbol).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy