
com.ecs.client.jax.OfferListing Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paapi-client Show documentation
Show all versions of paapi-client Show documentation
Java library for Amazon's Product Advertising API
The newest version!
package com.ecs.client.jax;
import java.math.BigInteger;
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;
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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="PricePerUnit" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="Price" type="{http://webservices.amazon.com/AWSECommerceService/2013-08-01}Price" minOccurs="0"/>
* <element name="SalePrice" type="{http://webservices.amazon.com/AWSECommerceService/2013-08-01}Price" minOccurs="0"/>
* <element name="AmountSaved" type="{http://webservices.amazon.com/AWSECommerceService/2013-08-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="IsEligibleForSuperSaverShipping" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsEligibleForPrimeFreeDigitalVideo" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="IsEligibleForPrime" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"offerListingId",
"pricePerUnit",
"price",
"salePrice",
"amountSaved",
"percentageSaved",
"availability",
"availabilityAttributes",
"isEligibleForSuperSaverShipping",
"isEligibleForPrimeFreeDigitalVideo",
"isEligibleForPrime"
})
@XmlRootElement(name = "OfferListing")
public class OfferListing {
@XmlElement(name = "OfferListingId")
protected String offerListingId;
@XmlElement(name = "PricePerUnit")
protected String pricePerUnit;
@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 = "IsEligibleForSuperSaverShipping")
protected Boolean isEligibleForSuperSaverShipping;
@XmlElement(name = "IsEligibleForPrimeFreeDigitalVideo")
protected Boolean isEligibleForPrimeFreeDigitalVideo;
@XmlElement(name = "IsEligibleForPrime")
protected Boolean isEligibleForPrime;
/**
* 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 pricePerUnit property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPricePerUnit() {
return pricePerUnit;
}
/**
* Sets the value of the pricePerUnit property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPricePerUnit(String value) {
this.pricePerUnit = 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 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 isEligibleForPrimeFreeDigitalVideo property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isIsEligibleForPrimeFreeDigitalVideo() {
return isEligibleForPrimeFreeDigitalVideo;
}
/**
* Sets the value of the isEligibleForPrimeFreeDigitalVideo property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setIsEligibleForPrimeFreeDigitalVideo(Boolean value) {
this.isEligibleForPrimeFreeDigitalVideo = 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;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <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>
*
*
*
*/
@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;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy