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

com.recurly.v3.resources.ErrorMayHaveTransaction Maven / Gradle / Ivy

There is a newer version: 4.58.0
Show newest version
/**
 * This file is automatically created by Recurly's OpenAPI generation process and thus any edits you
 * make by hand will be lost. If you wish to make a change to this file, please create a Github
 * issue explaining the changes you need and we will usher them to the appropriate places.
 */
package com.recurly.v3.resources;

import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.recurly.v3.Constants;
import com.recurly.v3.Resource;
import java.util.List;
import java.util.Map;

public class ErrorMayHaveTransaction extends Resource {

  /** Message */
  @SerializedName("message")
  @Expose
  private String message;

  /** Parameter specific errors */
  @SerializedName("params")
  @Expose
  private List params;

  /** This is only included on errors with `type=transaction`. */
  @SerializedName("transaction_error")
  @Expose
  private TransactionError transactionError;

  /** Type */
  @SerializedName("type")
  @Expose
  private Constants.ErrorType type;

  /** Message */
  public String getMessage() {
    return this.message;
  }

  /** @param message Message */
  public void setMessage(final String message) {
    this.message = message;
  }

  /** Parameter specific errors */
  public List getParams() {
    return this.params;
  }

  /** @param params Parameter specific errors */
  public void setParams(final List params) {
    this.params = params;
  }

  /** This is only included on errors with `type=transaction`. */
  public TransactionError getTransactionError() {
    return this.transactionError;
  }

  /** @param transactionError This is only included on errors with `type=transaction`. */
  public void setTransactionError(final TransactionError transactionError) {
    this.transactionError = transactionError;
  }

  /** Type */
  public Constants.ErrorType getType() {
    return this.type;
  }

  /** @param type Type */
  public void setType(final Constants.ErrorType type) {
    this.type = type;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy