io.swagger.client.model.StatementFeeData Maven / Gradle / Ivy
/*
* Qualpay Platform API
* This document describes the Qualpay Platform API.
*
* OpenAPI spec version: 1.1.9
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package io.swagger.client.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.IOException;
/**
* StatementFeeData
*/
public class StatementFeeData {
@SerializedName("rec_id_linked")
private Long recIdLinked = null;
@SerializedName("merchant_id")
private Long merchantId = null;
@SerializedName("billing_month")
private String billingMonth = null;
@SerializedName("fee_category")
private String feeCategory = null;
@SerializedName("count")
private Long count = null;
@SerializedName("amt_fees")
private Double amtFees = null;
@SerializedName("per_item")
private Double perItem = null;
@SerializedName("rate")
private Double rate = null;
@SerializedName("discount_due")
private Double discountDue = null;
@SerializedName("description")
private String description = null;
@SerializedName("fees_paid")
private Double feesPaid = null;
@SerializedName("fees_total")
private Double feesTotal = null;
public StatementFeeData recIdLinked(Long recIdLinked) {
this.recIdLinked = recIdLinked;
return this;
}
/**
* For INTERNAL USE ONLY.
* @return recIdLinked
**/
@ApiModelProperty(example = "0", value = "For INTERNAL USE ONLY.")
public Long getRecIdLinked() {
return recIdLinked;
}
public void setRecIdLinked(Long recIdLinked) {
this.recIdLinked = recIdLinked;
}
public StatementFeeData merchantId(Long merchantId) {
this.merchantId = merchantId;
return this;
}
/**
* <strong>Format: </strong>Variable length, up to 16 N<br><strong>Description: </strong>Unique ID assigned by Qualpay to a merchant.
* @return merchantId
**/
@ApiModelProperty(example = "212000000001", value = "Format: Variable length, up to 16 N
Description: Unique ID assigned by Qualpay to a merchant.")
public Long getMerchantId() {
return merchantId;
}
public void setMerchantId(Long merchantId) {
this.merchantId = merchantId;
}
public StatementFeeData billingMonth(String billingMonth) {
this.billingMonth = billingMonth;
return this;
}
/**
* Billing month of the statement in YYYY-MM-DD.
* @return billingMonth
**/
@ApiModelProperty(example = "2019-03-01", value = "Billing month of the statement in YYYY-MM-DD.")
public String getBillingMonth() {
return billingMonth;
}
public void setBillingMonth(String billingMonth) {
this.billingMonth = billingMonth;
}
public StatementFeeData feeCategory(String feeCategory) {
this.feeCategory = feeCategory;
return this;
}
/**
* The category defines the type of fees.
* @return feeCategory
**/
@ApiModelProperty(example = "Interchange", value = "The category defines the type of fees.")
public String getFeeCategory() {
return feeCategory;
}
public void setFeeCategory(String feeCategory) {
this.feeCategory = feeCategory;
}
public StatementFeeData count(Long count) {
this.count = count;
return this;
}
/**
* The count of items applicable to the category.
* @return count
**/
@ApiModelProperty(example = "10", value = "The count of items applicable to the category.")
public Long getCount() {
return count;
}
public void setCount(Long count) {
this.count = count;
}
public StatementFeeData amtFees(Double amtFees) {
this.amtFees = amtFees;
return this;
}
/**
* The dollar amount of items applicable to the category.
* @return amtFees
**/
@ApiModelProperty(example = "10.1", value = "The dollar amount of items applicable to the category.")
public Double getAmtFees() {
return amtFees;
}
public void setAmtFees(Double amtFees) {
this.amtFees = amtFees;
}
public StatementFeeData perItem(Double perItem) {
this.perItem = perItem;
return this;
}
/**
* The percentage rate applied to the category item.
* @return perItem
**/
@ApiModelProperty(example = "0.1", value = "The percentage rate applied to the category item.")
public Double getPerItem() {
return perItem;
}
public void setPerItem(Double perItem) {
this.perItem = perItem;
}
public StatementFeeData rate(Double rate) {
this.rate = rate;
return this;
}
/**
* The per item rate applied to the category item.
* @return rate
**/
@ApiModelProperty(example = "1.80%", value = "The per item rate applied to the category item.")
public Double getRate() {
return rate;
}
public void setRate(Double rate) {
this.rate = rate;
}
public StatementFeeData discountDue(Double discountDue) {
this.discountDue = discountDue;
return this;
}
/**
* Get discountDue
* @return discountDue
**/
@ApiModelProperty(required = true, value = "")
public Double getDiscountDue() {
return discountDue;
}
public void setDiscountDue(Double discountDue) {
this.discountDue = discountDue;
}
public StatementFeeData description(String description) {
this.description = description;
return this;
}
/**
* The description of a category item.
* @return description
**/
@ApiModelProperty(example = "VS NON Qualified", value = "The description of a category item.")
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public StatementFeeData feesPaid(Double feesPaid) {
this.feesPaid = feesPaid;
return this;
}
/**
* Any fees paid during the month.
* @return feesPaid
**/
@ApiModelProperty(example = "10.1", value = "Any fees paid during the month.")
public Double getFeesPaid() {
return feesPaid;
}
public void setFeesPaid(Double feesPaid) {
this.feesPaid = feesPaid;
}
public StatementFeeData feesTotal(Double feesTotal) {
this.feesTotal = feesTotal;
return this;
}
/**
* The total amount of fees due for the category item.
* @return feesTotal
**/
@ApiModelProperty(example = "10.1", value = "The total amount of fees due for the category item.")
public Double getFeesTotal() {
return feesTotal;
}
public void setFeesTotal(Double feesTotal) {
this.feesTotal = feesTotal;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
StatementFeeData statementFeeData = (StatementFeeData) o;
return Objects.equals(this.recIdLinked, statementFeeData.recIdLinked) &&
Objects.equals(this.merchantId, statementFeeData.merchantId) &&
Objects.equals(this.billingMonth, statementFeeData.billingMonth) &&
Objects.equals(this.feeCategory, statementFeeData.feeCategory) &&
Objects.equals(this.count, statementFeeData.count) &&
Objects.equals(this.amtFees, statementFeeData.amtFees) &&
Objects.equals(this.perItem, statementFeeData.perItem) &&
Objects.equals(this.rate, statementFeeData.rate) &&
Objects.equals(this.discountDue, statementFeeData.discountDue) &&
Objects.equals(this.description, statementFeeData.description) &&
Objects.equals(this.feesPaid, statementFeeData.feesPaid) &&
Objects.equals(this.feesTotal, statementFeeData.feesTotal);
}
@Override
public int hashCode() {
return Objects.hash(recIdLinked, merchantId, billingMonth, feeCategory, count, amtFees, perItem, rate, discountDue, description, feesPaid, feesTotal);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class StatementFeeData {\n");
sb.append(" recIdLinked: ").append(toIndentedString(recIdLinked)).append("\n");
sb.append(" merchantId: ").append(toIndentedString(merchantId)).append("\n");
sb.append(" billingMonth: ").append(toIndentedString(billingMonth)).append("\n");
sb.append(" feeCategory: ").append(toIndentedString(feeCategory)).append("\n");
sb.append(" count: ").append(toIndentedString(count)).append("\n");
sb.append(" amtFees: ").append(toIndentedString(amtFees)).append("\n");
sb.append(" perItem: ").append(toIndentedString(perItem)).append("\n");
sb.append(" rate: ").append(toIndentedString(rate)).append("\n");
sb.append(" discountDue: ").append(toIndentedString(discountDue)).append("\n");
sb.append(" description: ").append(toIndentedString(description)).append("\n");
sb.append(" feesPaid: ").append(toIndentedString(feesPaid)).append("\n");
sb.append(" feesTotal: ").append(toIndentedString(feesTotal)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* Convert the given object to string with each line indented by 4 spaces
* (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy