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

ru.moysklad.remap_1_2.clients.documents.InternalOrderClient Maven / Gradle / Ivy

Go to download

Simplest way to work with entities like assortment and documents from moysklad.ru and mystorehq.com

The newest version!
package ru.moysklad.remap_1_2.clients.documents;

import ru.moysklad.remap_1_2.ApiClient;
import ru.moysklad.remap_1_2.clients.EntityClientBase;
import ru.moysklad.remap_1_2.clients.endpoints.*;
import ru.moysklad.remap_1_2.entities.DocumentAttribute;
import ru.moysklad.remap_1_2.entities.MetaEntity;
import ru.moysklad.remap_1_2.entities.documents.InternalOrder;
import ru.moysklad.remap_1_2.entities.documents.positions.InternalOrderDocumentPosition;
import ru.moysklad.remap_1_2.responses.metadata.MetadataAttributeSharedStatesResponse;

public final class InternalOrderClient
        extends EntityClientBase
        implements
        GetListEndpoint,
        PostEndpoint,
        DeleteByIdEndpoint,
        DocumentMetadataEndpoint>,
        MetadataDocumentAttributeEndpoint,
        DocumentNewEndpoint,
        GetByIdEndpoint,
        PutByIdEndpoint,
        MassCreateUpdateDeleteEndpoint,
        DocumentPositionsEndpoint,
        ExportEndpoint,
        PublicationEndpoint,
        HasStatesEndpoint,
        HasFilesEndpoint {

    public InternalOrderClient(ApiClient api) {
        super(api, "/entity/internalorder/");
    }

    @Override
    public Class entityClass() {
        return InternalOrder.class;
    }

    @Override
    public Class metaEntityClass() {
        return MetadataAttributeSharedStatesResponse.class;
    }

    @Override
    public Class documentPositionClass() {
        return InternalOrderDocumentPosition.class;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy