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

com.ingenico.direct.domain.PaymentCreationOutput Maven / Gradle / Ivy

/*
 * This class was auto-generated from the API references found at
 * https://support.direct.ingenico.com/documentation/api/reference
 */
package com.ingenico.direct.domain;

/**
 * Object containing the details of the created payment.
 */
public class PaymentCreationOutput {

	private String externalReference = null;

	private Boolean isNewToken = null;

	private String token = null;

	private Boolean tokenizationSucceeded = null;

	/**
	 * The external reference identifier for this transaction. Data in this property will also be returned in our report files, allowing you to reconcile them
	 */
	public String getExternalReference() {
		return externalReference;
	}

	/**
	 * The external reference identifier for this transaction. Data in this property will also be returned in our report files, allowing you to reconcile them
	 */
	public void setExternalReference(String value) {
		this.externalReference = value;
	}

	/**
	 * 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. This property is populated when the payment was done with a token or when the payment was tokenized.
	 */
	public String getToken() {
		return token;
	}

	/**
	 * ID of the token. This property is populated when the payment was done with a token or when the payment was tokenized.
	 */
	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;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy