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

com.ingenico.direct.domain.CapturePaymentRequest Maven / Gradle / Ivy

/*
 * This class was auto-generated from the API references found at
 * https://support.direct.ingenico.com/documentation/api/reference
 */
package com.ingenico.direct.domain;

public class CapturePaymentRequest {

	private Long amount = null;

	private Boolean isFinal = null;

	/**
	 * Here you can specify the amount that you want to capture (specified in cents, where single digit currencies are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. 
	 *  If left empty, the full amount will be captured and the request will be final. 
	 *  If the full amount is captured, the request will also be final.
	 */
	public Long getAmount() {
		return amount;
	}

	/**
	 * Here you can specify the amount that you want to capture (specified in cents, where single digit currencies are presumed to have 2 digits). The amount can be lower than the amount that was authorized, but not higher. 
	 *  If left empty, the full amount will be captured and the request will be final. 
	 *  If the full amount is captured, the request will also be final.
	 */
	public void setAmount(Long value) {
		this.amount = value;
	}

	/**
	 * This property indicates whether this will be the final capture of this transaction. The default value for this property is false.
	 */
	public Boolean getIsFinal() {
		return isFinal;
	}

	/**
	 * This property indicates whether this will be the final capture of this transaction. The default value for this property is false.
	 */
	public void setIsFinal(Boolean value) {
		this.isFinal = value;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy