1 // 2 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.2-b01-fcs 3 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 4 // Any modifications to this file will be lost upon recompilation of the source schema. 5 // Generated on: 2007.04.05 at 10:47:13 AM CEST 6 // 7 8 9 package com.amazon.webservices.awsecommerceservice._2007_04_04; 10 11 import java.util.ArrayList; 12 import java.util.List; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlElement; 16 import javax.xml.bind.annotation.XmlType; 17 18 19 /** 20 * <p>Java class for CartGetRequest complex type. 21 * 22 * <p>The following schema fragment specifies the expected content contained within this class. 23 * 24 * <pre> 25 * <complexType name="CartGetRequest"> 26 * <complexContent> 27 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 28 * <sequence> 29 * <element name="CartId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 30 * <element name="HMAC" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 31 * <element name="MergeCart" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> 32 * <element name="ResponseGroup" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> 33 * </sequence> 34 * </restriction> 35 * </complexContent> 36 * </complexType> 37 * </pre> 38 * 39 * 40 */ 41 @XmlAccessorType(XmlAccessType.FIELD) 42 @XmlType(name = "CartGetRequest", propOrder = { 43 "cartId", 44 "hmac", 45 "mergeCart", 46 "responseGroup" 47 }) 48 public class CartGetRequest { 49 50 @XmlElement(name = "CartId") 51 protected String cartId; 52 @XmlElement(name = "HMAC") 53 protected String hmac; 54 @XmlElement(name = "MergeCart") 55 protected String mergeCart; 56 @XmlElement(name = "ResponseGroup") 57 protected List<String> responseGroup; 58 59 /** 60 * Gets the value of the cartId property. 61 * 62 * @return 63 * possible object is 64 * {@link String } 65 * 66 */ 67 public String getCartId() { 68 return cartId; 69 } 70 71 /** 72 * Sets the value of the cartId property. 73 * 74 * @param value 75 * allowed object is 76 * {@link String } 77 * 78 */ 79 public void setCartId(String value) { 80 this.cartId = value; 81 } 82 83 /** 84 * Gets the value of the hmac property. 85 * 86 * @return 87 * possible object is 88 * {@link String } 89 * 90 */ 91 public String getHMAC() { 92 return hmac; 93 } 94 95 /** 96 * Sets the value of the hmac property. 97 * 98 * @param value 99 * allowed object is 100 * {@link String } 101 * 102 */ 103 public void setHMAC(String value) { 104 this.hmac = value; 105 } 106 107 /** 108 * Gets the value of the mergeCart property. 109 * 110 * @return 111 * possible object is 112 * {@link String } 113 * 114 */ 115 public String getMergeCart() { 116 return mergeCart; 117 } 118 119 /** 120 * Sets the value of the mergeCart property. 121 * 122 * @param value 123 * allowed object is 124 * {@link String } 125 * 126 */ 127 public void setMergeCart(String value) { 128 this.mergeCart = value; 129 } 130 131 /** 132 * Gets the value of the responseGroup property. 133 * 134 * <p> 135 * This accessor method returns a reference to the live list, 136 * not a snapshot. Therefore any modification you make to the 137 * returned list will be present inside the JAXB object. 138 * This is why there is not a <CODE>set</CODE> method for the responseGroup property. 139 * 140 * <p> 141 * For example, to add a new item, do as follows: 142 * <pre> 143 * getResponseGroup().add(newItem); 144 * </pre> 145 * 146 * 147 * <p> 148 * Objects of the following type(s) are allowed in the list 149 * {@link String } 150 * 151 * 152 */ 153 public List<String> getResponseGroup() { 154 if (responseGroup == null) { 155 responseGroup = new ArrayList<String>(); 156 } 157 return this.responseGroup; 158 } 159 160 }