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

com.ingenico.connect.gateway.sdk.java.domain.token.CreateTokenResponse 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.token;

public class CreateTokenResponse {

	private Boolean isNewToken = null;

	private String token = null;

	/**
	 * Indicates if a new token was created
	 * 
    *
  • true - A new token was created *
  • false - A token with the same card number already exists and is returned. Please note that the existing token has not been updated. When you want to update other data then the card number, you need to use the update API call, as data is never updated during the creation of a token. *
*/ public Boolean getIsNewToken() { return isNewToken; } /** * Indicates if a new token was created *
    *
  • true - A new token was created *
  • false - A token with the same card number already exists and is returned. Please note that the existing token has not been updated. When you want to update other data then the card number, you need to use the update API call, as data is never updated during the creation of a token. *
*/ public void setIsNewToken(Boolean value) { this.isNewToken = value; } /** * ID of the token */ public String getToken() { return token; } /** * ID of the token */ public void setToken(String value) { this.token = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy