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

io.swagger.client.model.StatementSettlementResponse 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 io.swagger.client.model.StatementSettlementData;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

/**
 * StatementSettlementResponse
 */

public class StatementSettlementResponse {
  @SerializedName("code")
  private Integer code = null;

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

  @SerializedName("totalPages")
  private Integer totalPages = null;

  @SerializedName("totalRecords")
  private Integer totalRecords = null;

  @SerializedName("data")
  private List data = new ArrayList();

   /**
   * <strong>Format: </strong>Fixed length, 1 N<br><strong>Description: </strong>Response code from API. 0 indicates success. Refer to <a href=\"/developer/api/reference#api-response-codes\"target=\"_blank\">Platform API Response Codes</a> for entire list of return codes.
   * @return code
  **/
  @ApiModelProperty(example = "0", required = true, value = "Format: Fixed length, 1 N
Description: Response code from API. 0 indicates success. Refer to Platform API Response Codes for entire list of return codes.") public Integer getCode() { return code; } /** * <strong>Format: </strong>Variable length AN<br><strong>Description: </strong>A short description of the API response code. * @return message **/ @ApiModelProperty(example = "Success", required = true, value = "Format: Variable length AN
Description: A short description of the API response code.") public String getMessage() { return message; } /** * <strong>Format: </strong>Variable length N<br><strong>Description: </strong>Total Number of pages. * @return totalPages **/ @ApiModelProperty(example = "10", required = true, value = "Format: Variable length N
Description: Total Number of pages. ") public Integer getTotalPages() { return totalPages; } /** * <strong>Format: </strong>Variable length, up to 3 N<br><strong>Description: </strong>Total number of records upto a maximum of 100. * @return totalRecords **/ @ApiModelProperty(example = "100", required = true, value = "Format: Variable length, up to 3 N
Description: Total number of records upto a maximum of 100.") public Integer getTotalRecords() { return totalRecords; } /** * An array of the resource object. * @return data **/ @ApiModelProperty(required = true, value = "An array of the resource object.") public List getData() { return data; } @Override public boolean equals(java.lang.Object o) { if (this == o) { return true; } if (o == null || getClass() != o.getClass()) { return false; } StatementSettlementResponse statementSettlementResponse = (StatementSettlementResponse) o; return Objects.equals(this.code, statementSettlementResponse.code) && Objects.equals(this.message, statementSettlementResponse.message) && Objects.equals(this.totalPages, statementSettlementResponse.totalPages) && Objects.equals(this.totalRecords, statementSettlementResponse.totalRecords) && Objects.equals(this.data, statementSettlementResponse.data); } @Override public int hashCode() { return Objects.hash(code, message, totalPages, totalRecords, data); } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("class StatementSettlementResponse {\n"); sb.append(" code: ").append(toIndentedString(code)).append("\n"); sb.append(" message: ").append(toIndentedString(message)).append("\n"); sb.append(" totalPages: ").append(toIndentedString(totalPages)).append("\n"); sb.append(" totalRecords: ").append(toIndentedString(totalRecords)).append("\n"); sb.append(" data: ").append(toIndentedString(data)).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