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

com.notronix.etsy.api.listings.ListingResource Maven / Gradle / Ivy

There is a newer version: 3.0.0014
Show newest version
package com.notronix.etsy.api.listings;

import com.notronix.etsy.api.EtsyException;
import com.notronix.etsy.api.PageableResponse;
import com.notronix.etsy.api.authentication.model.Credentials;
import com.notronix.etsy.api.common.model.DimensionUnit;
import com.notronix.etsy.api.common.model.WeightUnit;
import com.notronix.etsy.api.listings.model.*;
import com.notronix.etsy.impl.listings.model.ListingSort;
import com.notronix.etsy.impl.listings.model.SortOrder;

import java.util.List;

public interface ListingResource
{
    PageableResponse getListingsByShop(Credentials accessCredentials, Long shopId, ListingState state,
                                                          ListingSort sortedBy, SortOrder sortOrder,
                                                          Integer limit, Integer offset, ListingIncludes... includes)
            throws EtsyException;

    Listing getListing(Long listingId, String language, ListingIncludes... includes)
            throws EtsyException;

    Listing createDraftListing(Credentials accessCredentials, Long shopId, Integer quantity, String title, String description,
                               Float price, WhoMade whoMade, WhenMade whenMade, Long taxonomyId, Long shippingProfileId,
                               Long returnPolicyId, List materials, Long shopSectionId, Integer processingMin,
                               Integer processingMax, List tags, List styles, Float weight, Float length,
                               Float width, Float height, WeightUnit weightUnit, DimensionUnit dimensionUnit,
                               Boolean personalizable, Boolean personalizationRequired, Integer maxPersonalizationCharacterCount,
                               String personalizationInstructions, List productionPartnerIds, List imageIds,
                               Boolean supply, Boolean customizable, Boolean shouldAutoRenew, Boolean taxable, ListingType type)
        throws EtsyException;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy