com.ingenico.connect.gateway.sdk.java.domain.payment.CapturePaymentRequest 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
The newest version!
/*
* This class was auto-generated from the API references found at
* https://epayments-api.developer-ingenico.com/
*/
package com.ingenico.connect.gateway.sdk.java.domain.payment;
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