com.ingenico.connect.gateway.sdk.java.domain.token.TokenResponse Maven / Gradle / Ivy
/*
* 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;
import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenCard;
import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenEWallet;
import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenNonSepaDirectDebit;
import com.ingenico.connect.gateway.sdk.java.domain.token.definitions.TokenSepaDirectDebit;
public class TokenResponse {
private TokenCard card = null;
private TokenEWallet eWallet = null;
private String id = null;
private TokenNonSepaDirectDebit nonSepaDirectDebit = null;
private String originalPaymentId = null;
private Integer paymentProductId = null;
private TokenSepaDirectDebit sepaDirectDebit = 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;
}
/**
* ID of the token
*/
public String getId() {
return id;
}
/**
* ID of the token
*/
public void setId(String value) {
this.id = value;
}
/**
* Object containing the non SEPA Direct Debit details
*/
public TokenNonSepaDirectDebit getNonSepaDirectDebit() {
return nonSepaDirectDebit;
}
/**
* Object containing the non SEPA Direct Debit details
*/
public void setNonSepaDirectDebit(TokenNonSepaDirectDebit value) {
this.nonSepaDirectDebit = 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;
}
/**
* Payment product identifier
* Please see payment products for a full overview of possible values.
*/
public Integer getPaymentProductId() {
return paymentProductId;
}
/**
* Payment product identifier
* Please see payment products for a full overview of possible values.
*/
public void setPaymentProductId(Integer value) {
this.paymentProductId = value;
}
/**
* Object containing the SEPA Direct Debit details
*/
public TokenSepaDirectDebit getSepaDirectDebit() {
return sepaDirectDebit;
}
/**
* Object containing the SEPA Direct Debit details
*/
public void setSepaDirectDebit(TokenSepaDirectDebit value) {
this.sepaDirectDebit = value;
}
}