package com.mindprod.aws.jax; import javax.xml.bind.annotation.XmlAccessType; import javax.xml.bind.annotation.XmlAccessorType; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import java.math.BigInteger; import java.util.ArrayList; import java.util.List; /** *

Java class for ItemLookupRequest complex type. *

*

The following schema fragment specifies the expected content contained within this class. *

*

 * <complexType name="ItemLookupRequest">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{http://webservices.amazon.com/AWSECommerceService/2013-08-01}Condition" minOccurs="0"/>
 *         <element name="IdType" minOccurs="0">
 *           <simpleType>
 *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
 *               <enumeration value="ASIN"/>
 *               <enumeration value="UPC"/>
 *               <enumeration value="SKU"/>
 *               <enumeration value="EAN"/>
 *               <enumeration value="ISBN"/>
 *             </restriction>
 *           </simpleType>
 *         </element>
 *         <element name="MerchantId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="ItemId" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="SearchIndex" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="VariationPage" type="{http://webservices.amazon.com/AWSECommerceService/2013-08-01}positiveIntegerOrAll" minOccurs="0"/>
 *         <element name="RelatedItemPage" type="{http://webservices.amazon.com/AWSECommerceService/2013-08-01}positiveIntegerOrAll" minOccurs="0"/>
 *         <element name="RelationshipType" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
 *         <element name="IncludeReviewsSummary" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="TruncateReviewsAt" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
*/ @XmlAccessorType( XmlAccessType.FIELD ) @XmlType( name = "ItemLookupRequest", propOrder = { "condition", "idType", "merchantId", "itemId", "responseGroup", "searchIndex", "variationPage", "relatedItemPage", "relationshipType", "includeReviewsSummary", "truncateReviewsAt" } ) public class ItemLookupRequest { @XmlElement( name = "Condition" ) protected String condition; @XmlElement( name = "IdType" ) protected String idType; @XmlElement( name = "MerchantId" ) protected String merchantId; @XmlElement( name = "ItemId" ) protected List itemId; @XmlElement( name = "ResponseGroup" ) protected List responseGroup; @XmlElement( name = "SearchIndex" ) protected String searchIndex; @XmlElement( name = "VariationPage" ) @XmlSchemaType( name = "anySimpleType" ) protected String variationPage; @XmlElement( name = "RelatedItemPage" ) @XmlSchemaType( name = "anySimpleType" ) protected String relatedItemPage; @XmlElement( name = "RelationshipType" ) protected List relationshipType; @XmlElement( name = "IncludeReviewsSummary" ) protected String includeReviewsSummary; @XmlElement( name = "TruncateReviewsAt" ) @XmlSchemaType( name = "nonNegativeInteger" ) protected BigInteger truncateReviewsAt; /** * Gets the value of the condition property. * * @return possible object is * {@link String } */ public String getCondition() { return condition; } /** * Sets the value of the condition property. * * @param value allowed object is * {@link String } */ public void setCondition( String value ) { this.condition = value; } /** * Gets the value of the idType property. * * @return possible object is * {@link String } */ public String getIdType() { return idType; } /** * Sets the value of the idType property. * * @param value allowed object is * {@link String } */ public void setIdType( String value ) { this.idType = value; } /** * Gets the value of the includeReviewsSummary property. * * @return possible object is * {@link String } */ public String getIncludeReviewsSummary() { return includeReviewsSummary; } /** * Sets the value of the includeReviewsSummary property. * * @param value allowed object is * {@link String } */ public void setIncludeReviewsSummary( String value ) { this.includeReviewsSummary = value; } /** * Gets the value of the itemId property. *

*

* 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 set method for the itemId property. *

*

* For example, to add a new item, do as follows: *

     *    getItemId().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link String } */ public List getItemId() { if ( itemId == null ) { itemId = new ArrayList(); } return this.itemId; } /** * Gets the value of the merchantId property. * * @return possible object is * {@link String } */ public String getMerchantId() { return merchantId; } /** * Sets the value of the merchantId property. * * @param value allowed object is * {@link String } */ public void setMerchantId( String value ) { this.merchantId = value; } /** * Gets the value of the relatedItemPage property. * * @return possible object is * {@link String } */ public String getRelatedItemPage() { return relatedItemPage; } /** * Sets the value of the relatedItemPage property. * * @param value allowed object is * {@link String } */ public void setRelatedItemPage( String value ) { this.relatedItemPage = value; } /** * Gets the value of the relationshipType property. *

*

* 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 set method for the relationshipType property. *

*

* For example, to add a new item, do as follows: *

     *    getRelationshipType().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link String } */ public List getRelationshipType() { if ( relationshipType == null ) { relationshipType = new ArrayList(); } return this.relationshipType; } /** * Gets the value of the responseGroup property. *

*

* 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 set method for the responseGroup property. *

*

* For example, to add a new item, do as follows: *

     *    getResponseGroup().add(newItem);
     * 
*

*

*

* Objects of the following type(s) are allowed in the list * {@link String } */ public List getResponseGroup() { if ( responseGroup == null ) { responseGroup = new ArrayList(); } return this.responseGroup; } /** * Gets the value of the searchIndex property. * * @return possible object is * {@link String } */ public String getSearchIndex() { return searchIndex; } /** * Sets the value of the searchIndex property. * * @param value allowed object is * {@link String } */ public void setSearchIndex( String value ) { this.searchIndex = value; } /** * Gets the value of the truncateReviewsAt property. * * @return possible object is * {@link BigInteger } */ public BigInteger getTruncateReviewsAt() { return truncateReviewsAt; } /** * Sets the value of the truncateReviewsAt property. * * @param value allowed object is * {@link BigInteger } */ public void setTruncateReviewsAt( BigInteger value ) { this.truncateReviewsAt = value; } /** * Gets the value of the variationPage property. * * @return possible object is * {@link String } */ public String getVariationPage() { return variationPage; } /** * Sets the value of the variationPage property. * * @param value allowed object is * {@link String } */ public void setVariationPage( String value ) { this.variationPage = value; } }