package com.ECS.client.jax;
import java.math.BigInteger;
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.XmlRootElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OfferListingId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ExchangeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Price" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Price" minOccurs="0"/>
* <element name="SalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Price" minOccurs="0"/>
* <element name="AmountSaved" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Price" minOccurs="0"/>
* <element name="PercentageSaved" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
* <element name="Availability" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="AvailabilityAttributes" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AvailabilityType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsPreorder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="MinimumHours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="MaximumHours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="QuantityRestriction" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="QuantityLimit" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="ISPUStoreAddress" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Address" minOccurs="0"/>
* <element name="ISPUStoreHours" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsEligibleForSuperSaverShipping" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsEligibleForPrime" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsFulfilledByAmazon" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsMapViolated" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="SalesRestriction" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="ShippingCharge" maxOccurs="unbounded" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ShippingType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="IsRateTaxInclusive" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="ShippingPrice" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Price"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"offerListingId",
"exchangeId",
"price",
"salePrice",
"amountSaved",
"percentageSaved",
"availability",
"availabilityAttributes",
"quantity",
"quantityRestriction",
"ispuStoreAddress",
"ispuStoreHours",
"isEligibleForSuperSaverShipping",
"isEligibleForPrime",
"isFulfilledByAmazon",
"isMapViolated",
"salesRestriction",
"shippingCharge"
})
@XmlRootElement(name = "OfferListing")
public class OfferListing {
@XmlElement(name = "OfferListingId")
protected String offerListingId;
@XmlElement(name = "ExchangeId")
protected String exchangeId;
@XmlElement(name = "Price")
protected Price price;
@XmlElement(name = "SalePrice")
protected Price salePrice;
@XmlElement(name = "AmountSaved")
protected Price amountSaved;
@XmlElement(name = "PercentageSaved")
@XmlSchemaType(name = "nonNegativeInteger")
protected BigInteger percentageSaved;
@XmlElement(name = "Availability")
protected String availability;
@XmlElement(name = "AvailabilityAttributes")
protected OfferListing.AvailabilityAttributes availabilityAttributes;
@XmlElement(name = "Quantity")
protected BigInteger quantity;
@XmlElement(name = "QuantityRestriction")
protected OfferListing.QuantityRestriction quantityRestriction;
@XmlElement(name = "ISPUStoreAddress")
protected Address ispuStoreAddress;
@XmlElement(name = "ISPUStoreHours")
protected String ispuStoreHours;
@XmlElement(name = "IsEligibleForSuperSaverShipping")
protected Boolean isEligibleForSuperSaverShipping;
@XmlElement(name = "IsEligibleForPrime")
protected Boolean isEligibleForPrime;
@XmlElement(name = "IsFulfilledByAmazon")
protected Boolean isFulfilledByAmazon;
@XmlElement(name = "IsMapViolated")
protected Boolean isMapViolated;
@XmlElement(name = "SalesRestriction")
protected String salesRestriction;
@XmlElement(name = "ShippingCharge")
protected List<OfferListing.ShippingCharge> shippingCharge;
/**
* Gets the value of the offerListingId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOfferListingId() {
return offerListingId;
}
/**
* Sets the value of the offerListingId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOfferListingId(String value) {
this.offerListingId = value;
}
/**
* Gets the value of the exchangeId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getExchangeId() {
return exchangeId;
}
/**
* Sets the value of the exchangeId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExchangeId(String value) {
this.exchangeId = value;
}
/**
* Gets the value of the price property.
*
* @return
* possible object is
* {@link Price }
*
*/
public Price getPrice() {
return price;
}
/**
* Sets the value of the price property.
*
* @param value
* allowed object is
* {@link Price }
*
*/
public void setPrice(Price value) {
this.price = value;
}
/**
* Gets the value of the salePrice property.
*
* @return
* possible object is
* {@link Price }
*
*/
public Price getSalePrice() {
return salePrice;
}
/**
* Sets the value of the salePrice property.
*
* @param value
* allowed object is
* {@link Price }
*
*/
public void setSalePrice(Price value) {
this.salePrice = value;
}
/**
* Gets the value of the amountSaved property.
*
* @return
* possible object is
* {@link Price }
*
*/
public Price getAmountSaved() {
return amountSaved;
}
/**
* Sets the value of the amountSaved property.
*
* @param value
* allowed object is
* {@link Price }
*
*/
public void setAmountSaved(Price value) {
this.amountSaved = value;
}
/**
* Gets the value of the percentageSaved property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getPercentageSaved() {
return percentageSaved;
}
/**
* Sets the value of the percentageSaved property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setPercentageSaved(BigInteger value) {
this.percentageSaved = value;
}
/**
* Gets the value of the availability property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAvailability() {
return availability;
}
/**
* Sets the value of the availability property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAvailability(String value) {
this.availability = value;
}
/**
* Gets the value of the availabilityAttributes property.
*
* @return
* possible object is
* {@link OfferListing.AvailabilityAttributes }
*
*/
public OfferListing.AvailabilityAttributes getAvailabilityAttributes() {
return availabilityAttributes;
}
/**
* Sets the value of the availabilityAttributes property.
*
* @param value
* allowed object is
* {@link OfferListing.AvailabilityAttributes }
*
*/
public void setAvailabilityAttributes(OfferListing.AvailabilityAttributes value) {
this.availabilityAttributes = value;
}
/**
* Gets the value of the quantity property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getQuantity() {
return quantity;
}
/**
* Sets the value of the quantity property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setQuantity(BigInteger value) {
this.quantity = value;
}
/**
* Gets the value of the quantityRestriction property.
*
* @return
* possible object is
* {@link OfferListing.QuantityRestriction }
*
*/
public OfferListing.QuantityRestriction getQuantityRestriction() {
return quantityRestriction;
}
/**
* Sets the value of the quantityRestriction property.
*
* @param value
* allowed object is
* {@link OfferListing.QuantityRestriction }
*
*/
public void setQuantityRestriction(OfferListing.QuantityRestriction value) {
this.quantityRestriction = value;
}
/**
* Gets the value of the ispuStoreAddress property.
*
* @return
* possible object is
* {@link Address }
*
*/
public Address getISPUStoreAddress() {
return ispuStoreAddress;
}
/**
* Sets the value of the ispuStoreAddress property.
*
* @param value
* allowed object is
* {@link Address }
*
*/
public void setISPUStoreAddress(Address value) {
this.ispuStoreAddress = value;
}
/**
* Gets the value of the ispuStoreHours property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getISPUStoreHours() {
return ispuStoreHours;
}
/**
* Sets the value of the ispuStoreHours property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setISPUStoreHours(String value) {
this.ispuStoreHours = value;
}
/**
* Gets the value of the isEligibleForSuperSaverShipping property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsEligibleForSuperSaverShipping() {
return isEligibleForSuperSaverShipping;
}
/**
* Sets the value of the isEligibleForSuperSaverShipping property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsEligibleForSuperSaverShipping(Boolean value) {
this.isEligibleForSuperSaverShipping = value;
}
/**
* Gets the value of the isEligibleForPrime property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsEligibleForPrime() {
return isEligibleForPrime;
}
/**
* Sets the value of the isEligibleForPrime property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsEligibleForPrime(Boolean value) {
this.isEligibleForPrime = value;
}
/**
* Gets the value of the isFulfilledByAmazon property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsFulfilledByAmazon() {
return isFulfilledByAmazon;
}
/**
* Sets the value of the isFulfilledByAmazon property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsFulfilledByAmazon(Boolean value) {
this.isFulfilledByAmazon = value;
}
/**
* Gets the value of the isMapViolated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsMapViolated() {
return isMapViolated;
}
/**
* Sets the value of the isMapViolated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsMapViolated(Boolean value) {
this.isMapViolated = value;
}
/**
* Gets the value of the salesRestriction property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSalesRestriction() {
return salesRestriction;
}
/**
* Sets the value of the salesRestriction property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSalesRestriction(String value) {
this.salesRestriction = value;
}
/**
* Gets the value of the shippingCharge 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 shippingCharge property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getShippingCharge().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link OfferListing.ShippingCharge }
*
*
*/
public List<OfferListing.ShippingCharge> getShippingCharge() {
if (shippingCharge == null) {
shippingCharge = new ArrayList<OfferListing.ShippingCharge>();
}
return this.shippingCharge;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AvailabilityType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="IsPreorder" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="MinimumHours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* <element name="MaximumHours" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"availabilityType",
"isPreorder",
"minimumHours",
"maximumHours"
})
public static class AvailabilityAttributes {
@XmlElement(name = "AvailabilityType")
protected String availabilityType;
@XmlElement(name = "IsPreorder")
protected Boolean isPreorder;
@XmlElement(name = "MinimumHours")
protected BigInteger minimumHours;
@XmlElement(name = "MaximumHours")
protected BigInteger maximumHours;
/**
* Gets the value of the availabilityType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAvailabilityType() {
return availabilityType;
}
/**
* Sets the value of the availabilityType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAvailabilityType(String value) {
this.availabilityType = value;
}
/**
* Gets the value of the isPreorder property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsPreorder() {
return isPreorder;
}
/**
* Sets the value of the isPreorder property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsPreorder(Boolean value) {
this.isPreorder = value;
}
/**
* Gets the value of the minimumHours property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMinimumHours() {
return minimumHours;
}
/**
* Sets the value of the minimumHours property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMinimumHours(BigInteger value) {
this.minimumHours = value;
}
/**
* Gets the value of the maximumHours property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getMaximumHours() {
return maximumHours;
}
/**
* Sets the value of the maximumHours property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setMaximumHours(BigInteger value) {
this.maximumHours = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="QuantityLimit" type="{http://www.w3.org/2001/XMLSchema}integer" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"quantityLimit"
})
public static class QuantityRestriction {
@XmlElement(name = "QuantityLimit")
protected BigInteger quantityLimit;
/**
* Gets the value of the quantityLimit property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getQuantityLimit() {
return quantityLimit;
}
/**
* Sets the value of the quantityLimit property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setQuantityLimit(BigInteger value) {
this.quantityLimit = value;
}
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="ShippingType" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="IsRateTaxInclusive" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="ShippingPrice" type="{http://webservices.amazon.com/AWSECommerceService/2010-11-01}Price"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"shippingType",
"isRateTaxInclusive",
"shippingPrice"
})
public static class ShippingCharge {
@XmlElement(name = "ShippingType", required = true)
protected String shippingType;
@XmlElement(name = "IsRateTaxInclusive")
protected boolean isRateTaxInclusive;
@XmlElement(name = "ShippingPrice", required = true)
protected Price shippingPrice;
/**
* Gets the value of the shippingType property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getShippingType() {
return shippingType;
}
/**
* Sets the value of the shippingType property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setShippingType(String value) {
this.shippingType = value;
}
/**
* Gets the value of the isRateTaxInclusive property.
*
*/
public boolean isIsRateTaxInclusive() {
return isRateTaxInclusive;
}
/**
* Sets the value of the isRateTaxInclusive property.
*
*/
public void setIsRateTaxInclusive(boolean value) {
this.isRateTaxInclusive = value;
}
/**
* Gets the value of the shippingPrice property.
*
* @return
* possible object is
* {@link Price }
*
*/
public Price getShippingPrice() {
return shippingPrice;
}
/**
* Sets the value of the shippingPrice property.
*
* @param value
* allowed object is
* {@link Price }
*
*/
public void setShippingPrice(Price value) {
this.shippingPrice = value;
}
}
}