com.shopify.model.ShopifyProduct Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shopify-sdk Show documentation
Show all versions of shopify-sdk Show documentation
Java SDK for Shopify REST API.
package com.shopify.model;
import java.util.Comparator;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.StringUtils;
import com.shopify.model.adapters.EscapedStringAdapter;
import com.shopify.model.adapters.TagsAdapter;
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
public class ShopifyProduct {
private String id;
@XmlJavaTypeAdapter(EscapedStringAdapter.class)
private String title;
@XmlElement(name = "product_type")
private String productType;
@XmlElement(name = "body_html")
@XmlJavaTypeAdapter(EscapedStringAdapter.class)
private String bodyHtml;
@XmlJavaTypeAdapter(EscapedStringAdapter.class)
private String vendor;
@XmlJavaTypeAdapter(TagsAdapter.class)
@XmlElement(name = "tags")
private Set tags = new HashSet<>();
private List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy