com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.CardPaymentMethodSpecificInput 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;
import com.ingenico.connect.gateway.sdk.java.domain.definitions.Card;
public class CardPaymentMethodSpecificInput extends AbstractCardPaymentMethodSpecificInput {
private Card card = null;
private ExternalCardholderAuthenticationData externalCardholderAuthenticationData = null;
private Boolean isRecurring = null;
private String returnUrl = null;
/**
* Object containing card details
*/
public Card getCard() {
return card;
}
/**
* Object containing card details
*/
public void setCard(Card value) {
this.card = value;
}
/**
* Object containing 3D secure details.
*/
public ExternalCardholderAuthenticationData getExternalCardholderAuthenticationData() {
return externalCardholderAuthenticationData;
}
/**
* Object containing 3D secure details.
*/
public void setExternalCardholderAuthenticationData(ExternalCardholderAuthenticationData value) {
this.externalCardholderAuthenticationData = value;
}
/**
* Indicates if this transaction is of a one-off or a recurring type
* - true - This is recurring
*
- false - This is one-off
*
*/
public Boolean getIsRecurring() {
return isRecurring;
}
/**
* Indicates if this transaction is of a one-off or a recurring type
* - true - This is recurring
*
- false - This is one-off
*
*/
public void setIsRecurring(Boolean value) {
this.isRecurring = value;
}
/**
* The URL that the consumer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the consumer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process.
* Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first.
* URLs without a protocol will be rejected.
*/
public String getReturnUrl() {
return returnUrl;
}
/**
* The URL that the consumer is redirect to after the payment flow has finished. You can add any number of key value pairs in the query string that, for instance help you to identify the consumer when they return to your site. Please note that we will also append some additional key value pairs that will also help you with this identification process.
* Note: The provided URL should be absolute and contain the protocol to use, e.g. http:// or https://. For use on mobile devices a custom protocol can be used in the form of protocol://. This protocol must be registered on the device first.
* URLs without a protocol will be rejected.
*/
public void setReturnUrl(String value) {
this.returnUrl = value;
}
}