com.notronix.etsy.impl.taxonomy.method.GetSellerTaxonomyNodesMethod Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JEtsy Show documentation
Show all versions of JEtsy Show documentation
A Java implementation of a Java version of the Etsy API
package com.notronix.etsy.impl.taxonomy.method;
import com.google.gson.reflect.TypeToken;
import com.notronix.etsy.api.authentication.model.Credentials;
import com.notronix.etsy.api.Unmarshaller;
import com.notronix.etsy.api.PageableResponse;
import com.notronix.etsy.impl.EtsyPageableResponse;
import com.notronix.etsy.impl.PageableEtsyMethod;
import com.notronix.etsy.impl.taxonomy.model.EtsyTaxonomy;
public class GetSellerTaxonomyNodesMethod extends PageableEtsyMethod
{
public GetSellerTaxonomyNodesMethod(Credentials clientCredentials) {
super(clientCredentials);
}
@Override
public PageableResponse getResponse(Unmarshaller unmarshaller, String payload) {
return unmarshaller.unmarshal(payload, new TypeToken>(){}.getType());
}
@Override
protected String getURI() {
return "/application/seller-taxonomy/nodes";
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy