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

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

There is a newer version: 16.331.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;

public class InstrumentDTO {

  /* Need to authorize transaction using 3DS */
  private Boolean require3ds = null;
  

  /* Payment method identifier */
  private String instrumentId = null;
  

  /* Token */
  private String token = null;
  

  /* Transaction id */
  private String transactionId = null;
  

  /* Redirect URL */
  private String redirectUrl = null;
  


  public Boolean getRequire3ds() {
    return require3ds;
  }
  public void setRequire3ds(Boolean require3ds) {
    this.require3ds = require3ds;
  }


  public String getInstrumentId() {
    return instrumentId;
  }
  public void setInstrumentId(String instrumentId) {
    this.instrumentId = instrumentId;
  }


  public String getToken() {
    return token;
  }
  public void setToken(String token) {
    this.token = token;
  }


  public String getTransactionId() {
    return transactionId;
  }
  public void setTransactionId(String transactionId) {
    this.transactionId = transactionId;
  }


  public String getRedirectUrl() {
    return redirectUrl;
  }
  public void setRedirectUrl(String redirectUrl) {
    this.redirectUrl = redirectUrl;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class InstrumentDTO {\n");
    sb.append("  require3ds: ").append(require3ds).append("\n");
    sb.append("  instrumentId: ").append(instrumentId).append("\n");
    sb.append("  token: ").append(token).append("\n");
    sb.append("  transactionId: ").append(transactionId).append("\n");
    sb.append("  redirectUrl: ").append(redirectUrl).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy