package com.swfarm.biz.wish.bo.wishapi;

import javax.xml.bind.annotation.XmlElement;

import com.swfarm.biz.wish.bo.WishProduct;

public class UpdateProductParam {

	@XmlElement(name = "access_token", required = true)
	private String accessToken;

	@XmlElement(name = "id")
	private String productId;

	@XmlElement(name = "parent_sku")
	private String parentSku;

	@XmlElement(name = "name")
	private String name;

	@XmlElement(name = "description")
	private String description;

	@XmlElement(name = "tags")
	private String tags;

	@XmlElement(name = "brand")
	private String brand;

	@XmlElement(name = "landing_page_url")
	private String landingPageUrl;

	@XmlElement(name = "upc")
	private String upc;

	@XmlElement(name = "main_image")
	private String mainImage;

	@XmlElement(name = "extra_images")
	private String extraImages;

	public UpdateProductParam() {

	}

	public UpdateProductParam(WishProduct wishProduct) {
		this.productId = wishProduct.getProductId();
		this.parentSku = wishProduct.getParentSku();
		this.name = wishProduct.getName();
		this.description = wishProduct.getDescription();
		this.tags = wishProduct.getTags();
		this.brand = wishProduct.getBrand();
		this.landingPageUrl = wishProduct.getLandingPageUrl();
		this.upc = wishProduct.getUpc();
		this.mainImage = wishProduct.getMainImage();
		this.extraImages = wishProduct.getExtraImages();
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}

	public String getParentSku() {
		return parentSku;
	}

	public void setParentSku(String parentSku) {
		this.parentSku = parentSku;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getTags() {
		return tags;
	}

	public void setTags(String tags) {
		this.tags = tags;
	}

	public String getBrand() {
		return brand;
	}

	public void setBrand(String brand) {
		this.brand = brand;
	}

	public String getLandingPageUrl() {
		return landingPageUrl;
	}

	public void setLandingPageUrl(String landingPageUrl) {
		this.landingPageUrl = landingPageUrl;
	}

	public String getUpc() {
		return upc;
	}

	public void setUpc(String upc) {
		this.upc = upc;
	}

	public String getMainImage() {
		return mainImage;
	}

	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}

	public String getExtraImages() {
		return extraImages;
	}

	public void setExtraImages(String extraImages) {
		this.extraImages = extraImages;
	}

}