com.ingenico.connect.gateway.sdk.java.domain.token.CreateTokenResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of connect-sdk-java Show documentation
Show all versions of connect-sdk-java Show documentation
SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API
/*
* 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;
}
}