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
The newest version!
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/
*/
package com.ingenico.connect.gateway.sdk.java.domain.token;
public class CreateTokenResponse {
private Boolean isNewToken = null;
private String originalPaymentId = 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;
}
/**
* The initial Payment ID of the transaction from which the token has been created
*/
public String getOriginalPaymentId() {
return originalPaymentId;
}
/**
* The initial Payment ID of the transaction from which the token has been created
*/
public void setOriginalPaymentId(String value) {
this.originalPaymentId = 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