com.rocketlabs.sellercenterapi.entities.Document Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sellercenterapi Show documentation
Show all versions of sellercenterapi Show documentation
SellerCenter Marketplace API developer hub for Java
package com.rocketlabs.sellercenterapi.entities;
import com.rocketlabs.sellercenterapi.core.response.SuccessResponse;
public final class Document extends AbstractModel {
/**
* Constructor
*
* @param response response from API
*/
Document(SuccessResponse response) {
super(response.getBody().getJsonObject("Document"));
}
public String getFile() {
return getString("File");
}
public String getDocumentType() {
return getString("DocumentType");
}
public String getMimeType() {
return getString("MimeType");
}
}