com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.PaymentCreationOutput 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.payment.definitions;
public class PaymentCreationOutput extends PaymentCreationReferences {
private Boolean isNewToken = null;
private String token = null;
private Boolean tokenizationSucceeded = 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 update data stored in the token explicitly, 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 update data stored in the token explicitly, 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;
}
/**
* Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.
*/
public Boolean getTokenizationSucceeded() {
return tokenizationSucceeded;
}
/**
* Indicates if tokenization was successful or not. If this value is false, then the token and isNewToken properties will not be set.
*/
public void setTokenizationSucceeded(Boolean value) {
this.tokenizationSucceeded = value;
}
}