com.checkout.common.AbstractFileRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of checkout-sdk-java Show documentation
Show all versions of checkout-sdk-java Show documentation
Checkout SDK for Java https://checkout.com
package com.checkout.common;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.apache.http.entity.ContentType;
import java.io.File;
@Data
@AllArgsConstructor
public abstract class AbstractFileRequest {
private File file;
/**
* For PDF we need to create manually ContentType.create("application/pdf"),
* for others you can use ContentType statics
*/
private ContentType contentType;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy