com.ingenico.connect.gateway.sdk.java.merchant.disputes.UploadFileRequest 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.merchant.disputes;
import com.ingenico.connect.gateway.sdk.java.MultipartFormDataObject;
import com.ingenico.connect.gateway.sdk.java.MultipartFormDataRequest;
import com.ingenico.connect.gateway.sdk.java.UploadableFile;
/**
* Multipart/form-data parameters for
* Upload File
*/
public class UploadFileRequest implements MultipartFormDataRequest {
private UploadableFile file;
/**
* The file that you will upload as evidence to support a dispute.
*/
public UploadableFile getFile() {
return file;
}
/**
* The file that you will upload as evidence to support a dispute.
*/
public void setFile(UploadableFile value) {
this.file = value;
}
@Override
public MultipartFormDataObject toMultipartFormDataObject() {
MultipartFormDataObject result = new MultipartFormDataObject();
if (file != null) {
result.addFile("file", file);
}
return result;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy