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

com.rocketlabs.sellercenterapi.entities.Document Maven / Gradle / Ivy

There is a newer version: 1.0.0
Show newest version
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");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy