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

io.swagger.client.model.StatementDisputeData Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
/*
 * 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;
import org.threeten.bp.OffsetDateTime;

/**
 * StatementDisputeData
 */

public class StatementDisputeData {
  @SerializedName("rec_id_linked")
  private Long recIdLinked = null;

  @SerializedName("merchant_id")
  private Long merchantId = null;

  @SerializedName("billing_month")
  private String billingMonth = null;

  @SerializedName("batch_date")
  private OffsetDateTime batchDate = null;

  @SerializedName("reference_number")
  private Long referenceNumber = null;

  @SerializedName("plan_type")
  private String planType = null;

  @SerializedName("type_id")
  private String typeId = null;

  @SerializedName("billable")
  private String billable = null;

  @SerializedName("amt_purch")
  private Double amtPurch = null;

  @SerializedName("amt_return")
  private Double amtReturn = null;

  public StatementDisputeData 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 StatementDisputeData 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 StatementDisputeData 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 StatementDisputeData batchDate(OffsetDateTime batchDate) { this.batchDate = batchDate; return this; } /** * The date the ACH debit or credit adjustment was made to the depository account in YYYY-MM-DD format. * @return batchDate **/ @ApiModelProperty(example = "2019-03-01", value = "The date the ACH debit or credit adjustment was made to the depository account in YYYY-MM-DD format.") public OffsetDateTime getBatchDate() { return batchDate; } public void setBatchDate(OffsetDateTime batchDate) { this.batchDate = batchDate; } public StatementDisputeData referenceNumber(Long referenceNumber) { this.referenceNumber = referenceNumber; return this; } /** * An 11-digit number generated by the product initiating the transaction. The number is available when the transaction is settled and is a unique number that both the acquirer and the issuer can use to identify a transaction. The reference is used as the deposit reference number. * @return referenceNumber **/ @ApiModelProperty(example = "12345678901234567890123", value = "An 11-digit number generated by the product initiating the transaction. The number is available when the transaction is settled and is a unique number that both the acquirer and the issuer can use to identify a transaction. The reference is used as the deposit reference number.") public Long getReferenceNumber() { return referenceNumber; } public void setReferenceNumber(Long referenceNumber) { this.referenceNumber = referenceNumber; } public StatementDisputeData planType(String planType) { this.planType = planType; return this; } /** * SDefines the payment instrument type of Visa, MasterCard, American Express, or Discover. * @return planType **/ @ApiModelProperty(example = "VS", value = "SDefines the payment instrument type of Visa, MasterCard, American Express, or Discover.") public String getPlanType() { return planType; } public void setPlanType(String planType) { this.planType = planType; } public StatementDisputeData typeId(String typeId) { this.typeId = typeId; return this; } /** * The type of dispute. * @return typeId **/ @ApiModelProperty(example = "C - Chargeback, B- Reversal", value = "The type of dispute.") public String getTypeId() { return typeId; } public void setTypeId(String typeId) { this.typeId = typeId; } public StatementDisputeData billable(String billable) { this.billable = billable; return this; } /** * Defines by a Yes or No whether the dispute triggered a billable event. All billable dispute events will appear as a total line item in the Fees section in YYYY-MM-DD format. * @return billable **/ @ApiModelProperty(example = "2019-03-01", value = "Defines by a Yes or No whether the dispute triggered a billable event. All billable dispute events will appear as a total line item in the Fees section in YYYY-MM-DD format.") public String getBillable() { return billable; } public void setBillable(String billable) { this.billable = billable; } public StatementDisputeData amtPurch(Double amtPurch) { this.amtPurch = amtPurch; return this; } /** * The dollar value of the adjustment that is a debit to the depository account. * @return amtPurch **/ @ApiModelProperty(example = "10.1", value = "The dollar value of the adjustment that is a debit to the depository account.") public Double getAmtPurch() { return amtPurch; } public void setAmtPurch(Double amtPurch) { this.amtPurch = amtPurch; } public StatementDisputeData amtReturn(Double amtReturn) { this.amtReturn = amtReturn; return this; } /** * The dollar value of the adjustment that is a credit to the depository account. * @return amtReturn **/ @ApiModelProperty(example = "10.1", value = "The dollar value of the adjustment that is a credit to the depository account.") public Double getAmtReturn() { return amtReturn; } public void setAmtReturn(Double amtReturn) { this.amtReturn = amtReturn; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } StatementDisputeData statementDisputeData = (StatementDisputeData) o; return Objects.equals(this.recIdLinked, statementDisputeData.recIdLinked) && Objects.equals(this.merchantId, statementDisputeData.merchantId) && Objects.equals(this.billingMonth, statementDisputeData.billingMonth) && Objects.equals(this.batchDate, statementDisputeData.batchDate) && Objects.equals(this.referenceNumber, statementDisputeData.referenceNumber) && Objects.equals(this.planType, statementDisputeData.planType) && Objects.equals(this.typeId, statementDisputeData.typeId) && Objects.equals(this.billable, statementDisputeData.billable) && Objects.equals(this.amtPurch, statementDisputeData.amtPurch) && Objects.equals(this.amtReturn, statementDisputeData.amtReturn); } @Override public int hashCode() { return Objects.hash(recIdLinked, merchantId, billingMonth, batchDate, referenceNumber, planType, typeId, billable, amtPurch, amtReturn); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class StatementDisputeData {\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(" batchDate: ").append(toIndentedString(batchDate)).append("\n"); sb.append(" referenceNumber: ").append(toIndentedString(referenceNumber)).append("\n"); sb.append(" planType: ").append(toIndentedString(planType)).append("\n"); sb.append(" typeId: ").append(toIndentedString(typeId)).append("\n"); sb.append(" billable: ").append(toIndentedString(billable)).append("\n"); sb.append(" amtPurch: ").append(toIndentedString(amtPurch)).append("\n"); sb.append(" amtReturn: ").append(toIndentedString(amtReturn)).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