Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class PolicyViolationDurationDetailsType

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

public class PolicyViolationDurationDetailsType
extends Object
implements Serializable

Type used by the PolicyViolationDuration container. A PolicyViolationDuration container is returned for each supported period that a seller may specify through the BuyerRequirementDetails.MaximumBuyerPolicyViolations container in an add/revise/relist call. The BuyerRequirementDetails.MaximumBuyerPolicyViolations container can be used by the seller to limit the number of buyer policy violations a buyer may have during a set period before being restricted from buying an item.

Java class for PolicyViolationDurationDetailsType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="PolicyViolationDurationDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Period" type="{urn:ebay:apis:eBLBaseComponents}PeriodCodeType" minOccurs="0"/>
         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  String description
           
protected  PeriodCodeType period
           
 
Constructor Summary
PolicyViolationDurationDetailsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getDescription()
          Gets the value of the description property.
 PeriodCodeType getPeriod()
          Gets the value of the period property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDescription(String value)
          Sets the value of the description property.
 void setPeriod(PeriodCodeType value)
          Sets the value of the period property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

period

protected PeriodCodeType period

description

protected String description

any

protected List<Object> any
Constructor Detail

PolicyViolationDurationDetailsType

public PolicyViolationDurationDetailsType()
Method Detail

getPeriod

public PeriodCodeType getPeriod()
Gets the value of the period property.

Returns:
possible object is PeriodCodeType

setPeriod

public void setPeriod(PeriodCodeType value)
Sets the value of the period property.

Parameters:
value - allowed object is PeriodCodeType

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_getAny

protected List<Object> _getAny()

setAny

public Object setAny(int idx,
                     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.