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

com.tinypass.client.anon.model.PasswordlessPurchaseCompleteResult Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
package com.tinypass.client.anon.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.anon.model.Resource;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.List;

public class PasswordlessPurchaseCompleteResult {

  /* The order ID */
  private String oid = null;
  

  /* The URL of the page */
  private String url = null;
  

  /* The resource */
  private Resource resource = null;
  

  /* Parameters to show offer for continue payment flow after confirmation */
  private String showOfferParams = null;
  

  /* The term type */
  private String type = null;
  

  /* Process ID */
  private String processId = null;
  

  /* Is polling enabled */
  private Boolean pollingEnabled = null;
  

    private List pollingTimeouts = new ArrayList();
  


  public String getOid() {
    return oid;
  }
  public void setOid(String oid) {
    this.oid = oid;
  }


  public String getUrl() {
    return url;
  }
  public void setUrl(String url) {
    this.url = url;
  }


  public Resource getResource() {
    return resource;
  }
  public void setResource(Resource resource) {
    this.resource = resource;
  }


  public String getShowOfferParams() {
    return showOfferParams;
  }
  public void setShowOfferParams(String showOfferParams) {
    this.showOfferParams = showOfferParams;
  }


  public String getType() {
    return type;
  }
  public void setType(String type) {
    this.type = type;
  }


  public String getProcessId() {
    return processId;
  }
  public void setProcessId(String processId) {
    this.processId = processId;
  }


  public Boolean getPollingEnabled() {
    return pollingEnabled;
  }
  public void setPollingEnabled(Boolean pollingEnabled) {
    this.pollingEnabled = pollingEnabled;
  }


  public List getPollingTimeouts() {
    return pollingTimeouts;
  }
  public void setPollingTimeouts(List pollingTimeouts) {
    this.pollingTimeouts = pollingTimeouts;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class PasswordlessPurchaseCompleteResult {\n");
    sb.append("  oid: ").append(oid).append("\n");
    sb.append("  url: ").append(url).append("\n");
    sb.append("  resource: ").append(resource).append("\n");
    sb.append("  showOfferParams: ").append(showOfferParams).append("\n");
    sb.append("  type: ").append(type).append("\n");
    sb.append("  processId: ").append(processId).append("\n");
    sb.append("  pollingEnabled: ").append(pollingEnabled).append("\n");
    sb.append("  pollingTimeouts: ").append(pollingTimeouts).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy