com.ingenico.connect.gateway.sdk.java.domain.refund.definitions.RefundResult 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.refund.definitions;
import com.ingenico.connect.gateway.sdk.java.domain.definitions.AbstractOrderStatus;
import com.ingenico.connect.gateway.sdk.java.domain.definitions.OrderStatusOutput;
import com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.RefundOutput;
public class RefundResult extends AbstractOrderStatus {
private RefundOutput refundOutput = null;
private String status = null;
private OrderStatusOutput statusOutput = null;
/**
* Object containing refund details
*/
public RefundOutput getRefundOutput() {
return refundOutput;
}
/**
* Object containing refund details
*/
public void setRefundOutput(RefundOutput value) {
this.refundOutput = value;
}
/**
* Current high-level status of the refund in a human-readable form. Possible values are:
*
* - CREATED - The transaction has been created. This is the initial state once a new refund is created.
*
- PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the processing of the refund
*
- REJECTED - The refund has been rejected
*
- REFUND_REQUESTED - The transaction is in the queue to be refunded
*
- REFUNDED - We have successfully refunded the customer
*
- REJECTED_CAPTURE - The refund was rejected by the bank or us during processing
*
- CANCELLED - You have cancelled the transaction
*
* Please see Statuses for a full overview of possible values.
*/
public String getStatus() {
return status;
}
/**
* Current high-level status of the refund in a human-readable form. Possible values are:
*
* - CREATED - The transaction has been created. This is the initial state once a new refund is created.
*
- PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the processing of the refund
*
- REJECTED - The refund has been rejected
*
- REFUND_REQUESTED - The transaction is in the queue to be refunded
*
- REFUNDED - We have successfully refunded the customer
*
- REJECTED_CAPTURE - The refund was rejected by the bank or us during processing
*
- CANCELLED - You have cancelled the transaction
*
* Please see Statuses for a full overview of possible values.
*/
public void setStatus(String value) {
this.status = value;
}
/**
* This object has the numeric representation of the current refund status, timestamp of last status change and performable action on the current refund resource.
* In case of a rejected refund, detailed error information is listed.
*/
public OrderStatusOutput getStatusOutput() {
return statusOutput;
}
/**
* This object has the numeric representation of the current refund status, timestamp of last status change and performable action on the current refund resource.
* In case of a rejected refund, detailed error information is listed.
*/
public void setStatusOutput(OrderStatusOutput value) {
this.statusOutput = value;
}
}