Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class DiscountPriceInfoType

java.lang.Object
  extended by com.ebay.soap.eBLBaseComponents.DiscountPriceInfoType
All Implemented Interfaces:
java.io.Serializable

public class DiscountPriceInfoType
extends java.lang.Object
implements java.io.Serializable

Using this container, a seller can supply original retail price and discount price for an item to clarify the discount treatment (also known as strike-through pricing). This only applies to fixed-price listings and auction listings with the Buy It Now option. This feature is available for large enterprise sellers via white list. A seller can provide discount treatment regardless of whether the listing includes a SKU.

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"/>
         <element name="MadeForOutletComparisonPrice" type="{urn:ebay:apis:eBLBaseComponents}AmountType" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  AmountType madeForOutletComparisonPrice
           
protected  AmountType minimumAdvertisedPrice
           
protected  MinimumAdvertisedPriceExposureCodeType minimumAdvertisedPriceExposure
           
protected  AmountType originalRetailPrice
           
protected  PricingTreatmentCodeType pricingTreatment
           
protected  java.lang.Boolean soldOffeBay
           
protected  java.lang.Boolean soldOneBay
           
 
Constructor Summary
DiscountPriceInfoType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 AmountType getMadeForOutletComparisonPrice()
          Gets the value of the madeForOutletComparisonPrice property.
 AmountType getMinimumAdvertisedPrice()
          Gets the value of the minimumAdvertisedPrice property.
 MinimumAdvertisedPriceExposureCodeType getMinimumAdvertisedPriceExposure()
          Gets the value of the minimumAdvertisedPriceExposure property.
 AmountType getOriginalRetailPrice()
          Gets the value of the originalRetailPrice property.
 PricingTreatmentCodeType getPricingTreatment()
          Gets the value of the pricingTreatment property.
 java.lang.Boolean isSoldOffeBay()
          Gets the value of the soldOffeBay property.
 java.lang.Boolean isSoldOneBay()
          Gets the value of the soldOneBay property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setMadeForOutletComparisonPrice(AmountType value)
          Sets the value of the madeForOutletComparisonPrice property.
 void setMinimumAdvertisedPrice(AmountType value)
          Sets the value of the minimumAdvertisedPrice property.
 void setMinimumAdvertisedPriceExposure(MinimumAdvertisedPriceExposureCodeType value)
          Sets the value of the minimumAdvertisedPriceExposure property.
 void setOriginalRetailPrice(AmountType value)
          Sets the value of the originalRetailPrice property.
 void setPricingTreatment(PricingTreatmentCodeType value)
          Sets the value of the pricingTreatment property.
 void setSoldOffeBay(java.lang.Boolean value)
          Sets the value of the soldOffeBay property.
 void setSoldOneBay(java.lang.Boolean value)
          Sets the value of the soldOneBay property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

originalRetailPrice

protected AmountType originalRetailPrice

minimumAdvertisedPrice

protected AmountType minimumAdvertisedPrice

minimumAdvertisedPriceExposure

protected MinimumAdvertisedPriceExposureCodeType minimumAdvertisedPriceExposure

pricingTreatment

protected PricingTreatmentCodeType pricingTreatment

soldOneBay

protected java.lang.Boolean soldOneBay

soldOffeBay

protected java.lang.Boolean soldOffeBay

madeForOutletComparisonPrice

protected AmountType madeForOutletComparisonPrice

any

protected java.util.List<java.lang.Object> any
Constructor Detail

DiscountPriceInfoType

public DiscountPriceInfoType()
Method Detail

getOriginalRetailPrice

public AmountType getOriginalRetailPrice()
Gets the value of the originalRetailPrice property.

Returns:
possible object is AmountType

setOriginalRetailPrice

public void setOriginalRetailPrice(AmountType value)
Sets the value of the originalRetailPrice property.

Parameters:
value - allowed object is AmountType

getMinimumAdvertisedPrice

public AmountType getMinimumAdvertisedPrice()
Gets the value of the minimumAdvertisedPrice property.

Returns:
possible object is AmountType

setMinimumAdvertisedPrice

public void setMinimumAdvertisedPrice(AmountType value)
Sets the value of the minimumAdvertisedPrice property.

Parameters:
value - allowed object is AmountType

getMinimumAdvertisedPriceExposure

public MinimumAdvertisedPriceExposureCodeType getMinimumAdvertisedPriceExposure()
Gets the value of the minimumAdvertisedPriceExposure property.

Returns:
possible object is MinimumAdvertisedPriceExposureCodeType

setMinimumAdvertisedPriceExposure

public void setMinimumAdvertisedPriceExposure(MinimumAdvertisedPriceExposureCodeType value)
Sets the value of the minimumAdvertisedPriceExposure property.

Parameters:
value - allowed object is MinimumAdvertisedPriceExposureCodeType

getPricingTreatment

public PricingTreatmentCodeType getPricingTreatment()
Gets the value of the pricingTreatment property.

Returns:
possible object is PricingTreatmentCodeType

setPricingTreatment

public void setPricingTreatment(PricingTreatmentCodeType value)
Sets the value of the pricingTreatment property.

Parameters:
value - allowed object is PricingTreatmentCodeType

isSoldOneBay

public java.lang.Boolean isSoldOneBay()
Gets the value of the soldOneBay property.

Returns:
possible object is Boolean

setSoldOneBay

public void setSoldOneBay(java.lang.Boolean value)
Sets the value of the soldOneBay property.

Parameters:
value - allowed object is Boolean

isSoldOffeBay

public java.lang.Boolean isSoldOffeBay()
Gets the value of the soldOffeBay property.

Returns:
possible object is Boolean

setSoldOffeBay

public void setSoldOffeBay(java.lang.Boolean value)
Sets the value of the soldOffeBay property.

Parameters:
value - allowed object is Boolean

getMadeForOutletComparisonPrice

public AmountType getMadeForOutletComparisonPrice()
Gets the value of the madeForOutletComparisonPrice property.

Returns:
possible object is AmountType

setMadeForOutletComparisonPrice

public void setMadeForOutletComparisonPrice(AmountType value)
Sets the value of the madeForOutletComparisonPrice property.

Parameters:
value - allowed object is AmountType

getAny

public java.lang.Object[] getAny()
Returns:
array of Element Object

getAny

public java.lang.Object getAny(int idx)
Returns:
one of Element Object

getAnyLength

public int getAnyLength()

setAny

public void setAny(java.lang.Object[] values)
Parameters:
values - allowed objects are Element Object

_getAny

protected java.util.List<java.lang.Object> _getAny()

setAny

public java.lang.Object setAny(int idx,
                               java.lang.Object value)
Parameters:
value - allowed object is Element Object

Changes since
the last release

The information contained in this document is proprietary and confidential. Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc. For information regarding a qualifying NDA, contact Developer Relations: developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.