com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.PaymentStatusOutput 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.OrderStatusOutput;
public class PaymentStatusOutput extends OrderStatusOutput {
private Boolean isAuthorized = null;
private Boolean isRefundable = null;
private String threeDSecureStatus = null;
/**
* Indicates if the transaction has been authorized
* - true
*
- false
*
*/
public Boolean getIsAuthorized() {
return isAuthorized;
}
/**
* Indicates if the transaction has been authorized
* - true
*
- false
*
*/
public void setIsAuthorized(Boolean value) {
this.isAuthorized = value;
}
/**
* Flag indicating if the payment can be refunded
* - true
*
- false
*
*/
public Boolean getIsRefundable() {
return isRefundable;
}
/**
* Flag indicating if the payment can be refunded
* - true
*
- false
*
*/
public void setIsRefundable(Boolean value) {
this.isRefundable = value;
}
/**
* The 3D Secure status, with the following possible values:
* - ENROLLED: the card is enrolled for 3D Secure authentication. The customer can be redirected to a 3D Secure access control server (ACS)
*
- NOT_ENROLLED: the card is not enrolled for 3D Secure authentication
*
- INVALID_PARES_OR_NOT_COMPLETED: the PARes is invalid, or the customer did not complete the 3D Secure authentication
*
- AUTHENTICATED: the customer has passed the 3D Secure authentication
*
- NOT_AUTHENTICATED: the customer failed the 3D Secure authentication
*
- NOT_PARTICIPATING: the cardholder has not set up their card for 2-step 3D Secure.
*
Note that this status will only be set for payments that make use of 2-step 3D Secure.
*/
public String getThreeDSecureStatus() {
return threeDSecureStatus;
}
/**
* The 3D Secure status, with the following possible values:
* - ENROLLED: the card is enrolled for 3D Secure authentication. The customer can be redirected to a 3D Secure access control server (ACS)
*
- NOT_ENROLLED: the card is not enrolled for 3D Secure authentication
*
- INVALID_PARES_OR_NOT_COMPLETED: the PARes is invalid, or the customer did not complete the 3D Secure authentication
*
- AUTHENTICATED: the customer has passed the 3D Secure authentication
*
- NOT_AUTHENTICATED: the customer failed the 3D Secure authentication
*
- NOT_PARTICIPATING: the cardholder has not set up their card for 2-step 3D Secure.
*
Note that this status will only be set for payments that make use of 2-step 3D Secure.
*/
public void setThreeDSecureStatus(String value) {
this.threeDSecureStatus = value;
}
}