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

com.ingenico.direct.domain.TokenResponse 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;

public class TokenResponse {

	private TokenCard card = null;

	private TokenEWallet eWallet = null;

	private ExternalTokenLinked externalTokenLinked = null;

	private String id = null;

	private Boolean isTemporary = null;

	private Integer paymentProductId = null;

	/**
	 * Object containing card details
	 */
	public TokenCard getCard() {
		return card;
	}

	/**
	 * Object containing card details
	 */
	public void setCard(TokenCard value) {
		this.card = value;
	}

	/**
	 * Object containing eWallet details
	 */
	public TokenEWallet getEWallet() {
		return eWallet;
	}

	/**
	 * Object containing eWallet details
	 */
	public void setEWallet(TokenEWallet value) {
		this.eWallet = value;
	}

	public ExternalTokenLinked getExternalTokenLinked() {
		return externalTokenLinked;
	}

	public void setExternalTokenLinked(ExternalTokenLinked value) {
		this.externalTokenLinked = value;
	}

	/**
	 * ID of the token
	 */
	public String getId() {
		return id;
	}

	/**
	 * ID of the token
	 */
	public void setId(String value) {
		this.id = value;
	}

	/**
	 * Temporary tokens have a lifespan of two hours and can only be used once.
	 */
	public Boolean getIsTemporary() {
		return isTemporary;
	}

	/**
	 * Temporary tokens have a lifespan of two hours and can only be used once.
	 */
	public void setIsTemporary(Boolean value) {
		this.isTemporary = value;
	}

	/**
	 * Payment product identifier - Please see [payment products](https://support.direct.ingenico.com/documentation/api/reference/index.html#tag/Products) for a full overview of possible values.
	 */
	public Integer getPaymentProductId() {
		return paymentProductId;
	}

	/**
	 * Payment product identifier - Please see [payment products](https://support.direct.ingenico.com/documentation/api/reference/index.html#tag/Products) for a full overview of possible values.
	 */
	public void setPaymentProductId(Integer value) {
		this.paymentProductId = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy