ebay.apis.shopping.eblbasecomponents.DiscountPriceInfoType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebay-shopping-api Show documentation
Show all versions of ebay-shopping-api Show documentation
This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API.
This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.
The newest version!
package ebay.apis.shopping.eblbasecomponents;
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.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import org.w3c.dom.Element;
/**
*
* Created this container as part of Strike-Through Pricing Project (27970) in selling API.
* Using this container, a seller can supply original retail price, discount price for
* an item to provide discount treatment. STP in short for Strike-Through Pricing will
* only apply to fixed price, BIN items. This feature is available for
* large enterprise/BD sellers via white list. A seller can provide discount treatment
* for Non-MSKU and MSKU items.
*
*
* Java class for DiscountPriceInfoType complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DiscountPriceInfoType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="OriginalRetailPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
* <element name="MinimumAdvertisedPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
* <element name="MinimumAdvertisedPriceExposure" type="{urn:ebay:apis:eBLBaseComponents}MinimumAdvertisedPriceExposureCodeType" minOccurs="0"/>
* <element name="PricingTreatment" type="{urn:ebay:apis:eBLBaseComponents}PricingTreatmentCodeType" minOccurs="0"/>
* <element name="SoldOneBay" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="SoldOffeBay" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DiscountPriceInfoType", propOrder = {
"originalRetailPrice",
"minimumAdvertisedPrice",
"minimumAdvertisedPriceExposure",
"pricingTreatment",
"soldOneBay",
"soldOffeBay",
"any"
})
public class DiscountPriceInfoType {
@XmlElement(name = "OriginalRetailPrice")
protected AmountType originalRetailPrice;
@XmlElement(name = "MinimumAdvertisedPrice")
protected AmountType minimumAdvertisedPrice;
@XmlElement(name = "MinimumAdvertisedPriceExposure")
@XmlSchemaType(name = "token")
protected MinimumAdvertisedPriceExposureCodeType minimumAdvertisedPriceExposure;
@XmlElement(name = "PricingTreatment")
@XmlSchemaType(name = "token")
protected PricingTreatmentCodeType pricingTreatment;
@XmlElement(name = "SoldOneBay", defaultValue = "false")
protected Boolean soldOneBay;
@XmlElement(name = "SoldOffeBay", defaultValue = "false")
protected Boolean soldOffeBay;
@XmlAnyElement(lax = true)
protected List