package com.ejie.ab04b.webservice.client.aa66;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 * <p>
 * Java class for envioOutWs complex type.
 * 
 * <p>
 * The following schema fragment specifies the expected content contained within
 * this class.
 * 
 * <pre>
 * &lt;complexType name="envioOutWs">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="codigoBarras" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="idEnvio" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         &lt;element name="idInterno" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         &lt;element name="codEnvio" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="imagen" type="{http://www.w3.org/2001/XMLSchema}base64Binary" maxOccurs="unbounded"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 * 
 * @author GFI-NORTE
 */
@XmlAccessorType(value = XmlAccessType.FIELD)
@XmlType(name = "envioOutWs", propOrder = { "codigoBarras", "idEnvio",
		"idInterno", "codEnvio", "imagen" })
public class EnvioOutWs {

	private String codigoBarras;
	private int idEnvio;
	private String idInterno;
	@XmlElement(required = true)
	private String codEnvio;
	@XmlElement(required = true)
	private List<byte[]> imagen;

	/**
	 * Gets the value of the codigoBarras property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getCodigoBarras() {
		return this.codigoBarras;
	}

	/**
	 * Sets the value of the codigoBarras property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setCodigoBarras(String value) {
		this.codigoBarras = value;
	}

	/**
	 * Gets the value of the idEnvio property.
	 * 
	 * @return int
	 */
	public int getIdEnvio() {
		return this.idEnvio;
	}

	/**
	 * Sets the value of the idEnvio property.
	 * 
	 * @param value
	 *            int
	 */
	public void setIdEnvio(int value) {
		this.idEnvio = value;
	}

	/**
	 * Gets the value of the idInterno property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getIdInterno() {
		return this.idInterno;
	}

	/**
	 * Sets the value of the idInterno property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setIdInterno(String value) {
		this.idInterno = value;
	}

	/**
	 * Gets the value of the codEnvio property.
	 * 
	 * @return possible object is {@link String }
	 * 
	 */
	public String getCodEnvio() {
		return this.codEnvio;
	}

	/**
	 * Sets the value of the codEnvio property.
	 * 
	 * @param value
	 *            allowed object is {@link String }
	 * 
	 */
	public void setCodEnvio(String value) {
		this.codEnvio = value;
	}

	/**
	 * Gets the value of the imagen property.
	 * 
	 * <p>
	 * This accessor method returns a reference to the live list, not a
	 * snapshot. Therefore any modification you make to the returned list will
	 * be present inside the JAXB object. This is why there is not a
	 * <CODE>set</CODE> method for the imagen property.
	 * 
	 * <p>
	 * For example, to add a new item, do as follows:
	 * 
	 * <pre>
	 * getImagen().add(newItem);
	 * </pre>
	 * 
	 * 
	 * <p>
	 * Objects of the following type(s) are allowed in the list byte[]
	 * 
	 * @return List<byte[]>
	 */
	public List<byte[]> getImagen() {
		if (this.imagen == null) {
			this.imagen = new ArrayList<byte[]>();
		}
		return this.imagen;
	}

}
