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

com.ingenico.connect.gateway.sdk.java.domain.sessions.SessionResponse Maven / Gradle / Ivy

Go to download

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

There is a newer version: 6.47.0
Show newest version
/*
 * This class was auto-generated from the API references found at
 * https://epayments-api.developer-ingenico.com/s2sapi/v1/
 */
package com.ingenico.connect.gateway.sdk.java.domain.sessions;

import java.util.List;

public class SessionResponse {

	private String assetUrl = null;

	private String clientApiUrl = null;

	private String clientSessionId = null;

	private String customerId = null;

	private List invalidTokens = null;

	private String region = null;

	/**
	 * The datacenter-specific base url for assets. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter.
	 */
	public String getAssetUrl() {
		return assetUrl;
	}

	/**
	 * The datacenter-specific base url for assets. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter.
	 */
	public void setAssetUrl(String value) {
		this.assetUrl = value;
	}

	/**
	 * The datacenter-specific base url for client requests. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter.
	 */
	public String getClientApiUrl() {
		return clientApiUrl;
	}

	/**
	 * The datacenter-specific base url for client requests. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter.
	 */
	public void setClientApiUrl(String value) {
		this.clientApiUrl = value;
	}

	/**
	 * The identifier of the session that has been created.
	 */
	public String getClientSessionId() {
		return clientSessionId;
	}

	/**
	 * The identifier of the session that has been created.
	 */
	public void setClientSessionId(String value) {
		this.clientSessionId = value;
	}

	/**
	 * The session is build up around the customer in the form of the customerId. All of the Client APIs use this customerId in the URI to identify the customer.
	 */
	public String getCustomerId() {
		return customerId;
	}

	/**
	 * The session is build up around the customer in the form of the customerId. All of the Client APIs use this customerId in the URI to identify the customer.
	 */
	public void setCustomerId(String value) {
		this.customerId = value;
	}

	/**
	 * Tokens that are submitted in the request are validated. In case any of the tokens can't be used anymore they are returned in this array. You should most likely remove those tokens from your system.
	 */
	public List getInvalidTokens() {
		return invalidTokens;
	}

	/**
	 * Tokens that are submitted in the request are validated. In case any of the tokens can't be used anymore they are returned in this array. You should most likely remove those tokens from your system.
	 */
	public void setInvalidTokens(List value) {
		this.invalidTokens = value;
	}

	/**
	 * Possible values:
	 * 
  • EU - datacenter located in Amsterdam *
  • US - datacenter located in Miami *
  • AMS - datacenter located in Amsterdam *
  • PAR - datacenter located in Paris *
* When a session is created it is created in a specific datacenter. Any subsequent calls using the Client API need to be datacenter specific. The datacenters are identified by this region value. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter. This only applies if your clients use a version older than the ones listed below: *
    *
  • JavaScript Client SDK v3.6.0 *
  • iOS ObjectiveC Client SDK v3.10.0 *
  • iOS Swift Client SDK v2.2.0 *
  • Android Client SDK v3.10.0 *
* In case of the iOS and Android SDKs the version of the SDK used will be tightly coupled with the versions of your app that is still in active use. You are advised to pass this value to your clients in case you are unsure of the version used in your clients. */ public String getRegion() { return region; } /** * Possible values: *
  • EU - datacenter located in Amsterdam *
  • US - datacenter located in Miami *
  • AMS - datacenter located in Amsterdam *
  • PAR - datacenter located in Paris *
* When a session is created it is created in a specific datacenter. Any subsequent calls using the Client API need to be datacenter specific. The datacenters are identified by this region value. This value needs to be passed to the Client SDK to make sure that the client software connects to the right datacenter. This only applies if your clients use a version older than the ones listed below: *
    *
  • JavaScript Client SDK v3.6.0 *
  • iOS ObjectiveC Client SDK v3.10.0 *
  • iOS Swift Client SDK v2.2.0 *
  • Android Client SDK v3.10.0 *
* In case of the iOS and Android SDKs the version of the SDK used will be tightly coupled with the versions of your app that is still in active use. You are advised to pass this value to your clients in case you are unsure of the version used in your clients. */ public void setRegion(String value) { this.region = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy