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

com.ingenico.connect.gateway.sdk.java.domain.payment.definitions.Payment Maven / Gradle / Ivy

Go to download

SDK to communicate with the Ingenico ePayments platform using the Ingenico Connect Server API

There is a newer version: 6.47.0
Show newest version
/*
 * 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.AbstractOrderStatus;

public class Payment extends AbstractOrderStatus {

	private HostedCheckoutSpecificOutput hostedCheckoutSpecificOutput = null;

	private PaymentOutput paymentOutput = null;

	private String status = null;

	private PaymentStatusOutput statusOutput = null;

	/**
	 * Hosted Checkout specific information. Populated if the payment was created on the GlobalCollect platform through a Hosted Checkout.
	 */
	public HostedCheckoutSpecificOutput getHostedCheckoutSpecificOutput() {
		return hostedCheckoutSpecificOutput;
	}

	/**
	 * Hosted Checkout specific information. Populated if the payment was created on the GlobalCollect platform through a Hosted Checkout.
	 */
	public void setHostedCheckoutSpecificOutput(HostedCheckoutSpecificOutput value) {
		this.hostedCheckoutSpecificOutput = value;
	}

	/**
	 * Object containing payment details
	 */
	public PaymentOutput getPaymentOutput() {
		return paymentOutput;
	}

	/**
	 * Object containing payment details
	 */
	public void setPaymentOutput(PaymentOutput value) {
		this.paymentOutput = value;
	}

	/**
	 * Current high-level status of the payment in a human-readable form. Possible values are :
	 * 
    *
  • ACCOUNT_VERIFIED - The account has been verified using a validation services like 0$ auth *
  • CREATED - The transaction has been created. This is the initial state once a new payment is created. *
  • REDIRECTED - The customer has been redirected to a 3rd party to complete the authentication/payment *
  • PENDING_PAYMENT - Instructions have been provided and we are now waiting for the money to come in *
  • PENDING_FRAUD_APPROVAL - The transaction has been marked for manual review after an automatic fraud screening *
  • PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the capturing of the funds *
  • PENDING_COMPLETION - The transaction needs to be completed. *
  • PENDING_CAPTURE - The transaction is waiting for you to request one or more captures of the funds. *
  • REJECTED - The transaction has been rejected *
  • AUTHORIZATION_REQUESTED - we have requested an authorization against an asynchronous system and is awaiting its response *
  • CAPTURE_REQUESTED - The transaction is in the queue to be captured *
  • CAPTURED - The transaction has been captured and we have received online confirmation *
  • PAID - We have matched the incoming funds to the transaction *
  • CANCELLED - You have cancelled the transaction *
  • REJECTED_CAPTURE - We or one of our downstream acquirers/providers have rejected the capture request *
  • REVERSED - The transaction has been reversed *
  • CHARGEBACK_NOTIFICATION - We have received a notification of chargeback and this status informs you that your account will be debited for a particular transaction *
  • CHARGEBACKED - The transaction has been chargebacked *
  • REFUNDED - The transaction has been refunded *

* Please see Statuses for a full overview of possible values. */ public String getStatus() { return status; } /** * Current high-level status of the payment in a human-readable form. Possible values are : *
    *
  • ACCOUNT_VERIFIED - The account has been verified using a validation services like 0$ auth *
  • CREATED - The transaction has been created. This is the initial state once a new payment is created. *
  • REDIRECTED - The customer has been redirected to a 3rd party to complete the authentication/payment *
  • PENDING_PAYMENT - Instructions have been provided and we are now waiting for the money to come in *
  • PENDING_FRAUD_APPROVAL - The transaction has been marked for manual review after an automatic fraud screening *
  • PENDING_APPROVAL - The transaction is awaiting approval from you to proceed with the capturing of the funds *
  • PENDING_COMPLETION - The transaction needs to be completed. *
  • PENDING_CAPTURE - The transaction is waiting for you to request one or more captures of the funds. *
  • REJECTED - The transaction has been rejected *
  • AUTHORIZATION_REQUESTED - we have requested an authorization against an asynchronous system and is awaiting its response *
  • CAPTURE_REQUESTED - The transaction is in the queue to be captured *
  • CAPTURED - The transaction has been captured and we have received online confirmation *
  • PAID - We have matched the incoming funds to the transaction *
  • CANCELLED - You have cancelled the transaction *
  • REJECTED_CAPTURE - We or one of our downstream acquirers/providers have rejected the capture request *
  • REVERSED - The transaction has been reversed *
  • CHARGEBACK_NOTIFICATION - We have received a notification of chargeback and this status informs you that your account will be debited for a particular transaction *
  • CHARGEBACKED - The transaction has been chargebacked *
  • REFUNDED - The transaction has been refunded *

* 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 payment status, timestamp of last status change and performable action on the current payment resource. * In case of failed payments and negative scenarios, detailed error information is listed. */ public PaymentStatusOutput getStatusOutput() { return statusOutput; } /** * This object has the numeric representation of the current payment status, timestamp of last status change and performable action on the current payment resource. * In case of failed payments and negative scenarios, detailed error information is listed. */ public void setStatusOutput(PaymentStatusOutput value) { this.statusOutput = value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy