Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ReturnPolicyDetailsType

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

public class ReturnPolicyDetailsType
extends Object
implements Serializable

Type defining the ReturnPolicyDetails container, which is returned in GeteBayDetails, and provides the seller with the Return Policy features (and applicable values) that are supported by the listing site.

Note: This container is only returned if ReturnPolicyDetails is included as a DetailName filter in the call request, or if no DetailName filters are used in the request.

Java class for ReturnPolicyDetailsType complex type.

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

 <complexType name="ReturnPolicyDetailsType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Refund" type="{urn:ebay:apis:eBLBaseComponents}RefundDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ReturnsWithin" type="{urn:ebay:apis:eBLBaseComponents}ReturnsWithinDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="ReturnsAccepted" type="{urn:ebay:apis:eBLBaseComponents}ReturnsAcceptedDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="WarrantyOffered" type="{urn:ebay:apis:eBLBaseComponents}WarrantyOfferedDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="WarrantyType" type="{urn:ebay:apis:eBLBaseComponents}WarrantyTypeDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="WarrantyDuration" type="{urn:ebay:apis:eBLBaseComponents}WarrantyDurationDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="EAN" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="ShippingCostPaidBy" type="{urn:ebay:apis:eBLBaseComponents}ShippingCostPaidByDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="RestockingFeeValue" type="{urn:ebay:apis:eBLBaseComponents}RestockingFeeValueDetailsType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="DetailVersion" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="UpdateTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  Boolean description
           
protected  String detailVersion
           
protected  Boolean ean
           
protected  List<RefundDetailsType> refund
           
protected  List<RestockingFeeValueDetailsType> restockingFeeValue
           
protected  List<ReturnsAcceptedDetailsType> returnsAccepted
           
protected  List<ReturnsWithinDetailsType> returnsWithin
           
protected  List<ShippingCostPaidByDetailsType> shippingCostPaidBy
           
protected  Calendar updateTime
           
protected  List<WarrantyDurationDetailsType> warrantyDuration
           
protected  List<WarrantyOfferedDetailsType> warrantyOffered
           
protected  List<WarrantyTypeDetailsType> warrantyType
           
 
Constructor Summary
ReturnPolicyDetailsType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<RefundDetailsType> _getRefund()
           
protected  List<RestockingFeeValueDetailsType> _getRestockingFeeValue()
           
protected  List<ReturnsAcceptedDetailsType> _getReturnsAccepted()
           
protected  List<ReturnsWithinDetailsType> _getReturnsWithin()
           
protected  List<ShippingCostPaidByDetailsType> _getShippingCostPaidBy()
           
protected  List<WarrantyDurationDetailsType> _getWarrantyDuration()
           
protected  List<WarrantyOfferedDetailsType> _getWarrantyOffered()
           
protected  List<WarrantyTypeDetailsType> _getWarrantyType()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 String getDetailVersion()
          Gets the value of the detailVersion property.
 RefundDetailsType[] getRefund()
           
 RefundDetailsType getRefund(int idx)
           
 int getRefundLength()
           
 RestockingFeeValueDetailsType[] getRestockingFeeValue()
           
 RestockingFeeValueDetailsType getRestockingFeeValue(int idx)
           
 int getRestockingFeeValueLength()
           
 ReturnsAcceptedDetailsType[] getReturnsAccepted()
           
 ReturnsAcceptedDetailsType getReturnsAccepted(int idx)
           
 int getReturnsAcceptedLength()
           
 ReturnsWithinDetailsType[] getReturnsWithin()
           
 ReturnsWithinDetailsType getReturnsWithin(int idx)
           
 int getReturnsWithinLength()
           
 ShippingCostPaidByDetailsType[] getShippingCostPaidBy()
           
 ShippingCostPaidByDetailsType getShippingCostPaidBy(int idx)
           
 int getShippingCostPaidByLength()
           
 Calendar getUpdateTime()
          Gets the value of the updateTime property.
 WarrantyDurationDetailsType[] getWarrantyDuration()
           
 WarrantyDurationDetailsType getWarrantyDuration(int idx)
           
 int getWarrantyDurationLength()
           
 WarrantyOfferedDetailsType[] getWarrantyOffered()
           
 WarrantyOfferedDetailsType getWarrantyOffered(int idx)
           
 int getWarrantyOfferedLength()
           
 WarrantyTypeDetailsType[] getWarrantyType()
           
 WarrantyTypeDetailsType getWarrantyType(int idx)
           
 int getWarrantyTypeLength()
           
 Boolean isDescription()
          Gets the value of the description property.
 Boolean isEAN()
          Gets the value of the ean property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 void setDescription(Boolean value)
          Sets the value of the description property.
 void setDetailVersion(String value)
          Sets the value of the detailVersion property.
 void setEAN(Boolean value)
          Sets the value of the ean property.
 RefundDetailsType setRefund(int idx, RefundDetailsType value)
           
 void setRefund(RefundDetailsType[] values)
           
 RestockingFeeValueDetailsType setRestockingFeeValue(int idx, RestockingFeeValueDetailsType value)
           
 void setRestockingFeeValue(RestockingFeeValueDetailsType[] values)
           
 ReturnsAcceptedDetailsType setReturnsAccepted(int idx, ReturnsAcceptedDetailsType value)
           
 void setReturnsAccepted(ReturnsAcceptedDetailsType[] values)
           
 ReturnsWithinDetailsType setReturnsWithin(int idx, ReturnsWithinDetailsType value)
           
 void setReturnsWithin(ReturnsWithinDetailsType[] values)
           
 ShippingCostPaidByDetailsType setShippingCostPaidBy(int idx, ShippingCostPaidByDetailsType value)
           
 void setShippingCostPaidBy(ShippingCostPaidByDetailsType[] values)
           
 void setUpdateTime(Calendar value)
          Sets the value of the updateTime property.
 WarrantyDurationDetailsType setWarrantyDuration(int idx, WarrantyDurationDetailsType value)
           
 void setWarrantyDuration(WarrantyDurationDetailsType[] values)
           
 WarrantyOfferedDetailsType setWarrantyOffered(int idx, WarrantyOfferedDetailsType value)
           
 void setWarrantyOffered(WarrantyOfferedDetailsType[] values)
           
 WarrantyTypeDetailsType setWarrantyType(int idx, WarrantyTypeDetailsType value)
           
 void setWarrantyType(WarrantyTypeDetailsType[] values)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refund

protected List<RefundDetailsType> refund

returnsWithin

protected List<ReturnsWithinDetailsType> returnsWithin

returnsAccepted

protected List<ReturnsAcceptedDetailsType> returnsAccepted

description

protected Boolean description

warrantyOffered

protected List<WarrantyOfferedDetailsType> warrantyOffered

warrantyType

protected List<WarrantyTypeDetailsType> warrantyType

warrantyDuration

protected List<WarrantyDurationDetailsType> warrantyDuration

ean

protected Boolean ean

shippingCostPaidBy

protected List<ShippingCostPaidByDetailsType> shippingCostPaidBy

restockingFeeValue

protected List<RestockingFeeValueDetailsType> restockingFeeValue

detailVersion

protected String detailVersion

updateTime

protected Calendar updateTime

any

protected List<Object> any
Constructor Detail

ReturnPolicyDetailsType

public ReturnPolicyDetailsType()
Method Detail

getRefund

public RefundDetailsType[] getRefund()
Returns:
array of RefundDetailsType

getRefund

public RefundDetailsType getRefund(int idx)
Returns:
one of RefundDetailsType

getRefundLength

public int getRefundLength()

setRefund

public void setRefund(RefundDetailsType[] values)
Parameters:
values - allowed objects are RefundDetailsType

_getRefund

protected List<RefundDetailsType> _getRefund()

setRefund

public RefundDetailsType setRefund(int idx,
                                   RefundDetailsType value)
Parameters:
value - allowed object is RefundDetailsType

getReturnsWithin

public ReturnsWithinDetailsType[] getReturnsWithin()
Returns:
array of ReturnsWithinDetailsType

getReturnsWithin

public ReturnsWithinDetailsType getReturnsWithin(int idx)
Returns:
one of ReturnsWithinDetailsType

getReturnsWithinLength

public int getReturnsWithinLength()

setReturnsWithin

public void setReturnsWithin(ReturnsWithinDetailsType[] values)
Parameters:
values - allowed objects are ReturnsWithinDetailsType

_getReturnsWithin

protected List<ReturnsWithinDetailsType> _getReturnsWithin()

setReturnsWithin

public ReturnsWithinDetailsType setReturnsWithin(int idx,
                                                 ReturnsWithinDetailsType value)
Parameters:
value - allowed object is ReturnsWithinDetailsType

getReturnsAccepted

public ReturnsAcceptedDetailsType[] getReturnsAccepted()
Returns:
array of ReturnsAcceptedDetailsType

getReturnsAccepted

public ReturnsAcceptedDetailsType getReturnsAccepted(int idx)
Returns:
one of ReturnsAcceptedDetailsType

getReturnsAcceptedLength

public int getReturnsAcceptedLength()

setReturnsAccepted

public void setReturnsAccepted(ReturnsAcceptedDetailsType[] values)
Parameters:
values - allowed objects are ReturnsAcceptedDetailsType

_getReturnsAccepted

protected List<ReturnsAcceptedDetailsType> _getReturnsAccepted()

setReturnsAccepted

public ReturnsAcceptedDetailsType setReturnsAccepted(int idx,
                                                     ReturnsAcceptedDetailsType value)
Parameters:
value - allowed object is ReturnsAcceptedDetailsType

isDescription

public Boolean isDescription()
Gets the value of the description property.

Returns:
possible object is Boolean

setDescription

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

Parameters:
value - allowed object is Boolean

getWarrantyOffered

public WarrantyOfferedDetailsType[] getWarrantyOffered()
Returns:
array of WarrantyOfferedDetailsType

getWarrantyOffered

public WarrantyOfferedDetailsType getWarrantyOffered(int idx)
Returns:
one of WarrantyOfferedDetailsType

getWarrantyOfferedLength

public int getWarrantyOfferedLength()

setWarrantyOffered

public void setWarrantyOffered(WarrantyOfferedDetailsType[] values)
Parameters:
values - allowed objects are WarrantyOfferedDetailsType

_getWarrantyOffered

protected List<WarrantyOfferedDetailsType> _getWarrantyOffered()

setWarrantyOffered

public WarrantyOfferedDetailsType setWarrantyOffered(int idx,
                                                     WarrantyOfferedDetailsType value)
Parameters:
value - allowed object is WarrantyOfferedDetailsType

getWarrantyType

public WarrantyTypeDetailsType[] getWarrantyType()
Returns:
array of WarrantyTypeDetailsType

getWarrantyType

public WarrantyTypeDetailsType getWarrantyType(int idx)
Returns:
one of WarrantyTypeDetailsType

getWarrantyTypeLength

public int getWarrantyTypeLength()

setWarrantyType

public void setWarrantyType(WarrantyTypeDetailsType[] values)
Parameters:
values - allowed objects are WarrantyTypeDetailsType

_getWarrantyType

protected List<WarrantyTypeDetailsType> _getWarrantyType()

setWarrantyType

public WarrantyTypeDetailsType setWarrantyType(int idx,
                                               WarrantyTypeDetailsType value)
Parameters:
value - allowed object is WarrantyTypeDetailsType

getWarrantyDuration

public WarrantyDurationDetailsType[] getWarrantyDuration()
Returns:
array of WarrantyDurationDetailsType

getWarrantyDuration

public WarrantyDurationDetailsType getWarrantyDuration(int idx)
Returns:
one of WarrantyDurationDetailsType

getWarrantyDurationLength

public int getWarrantyDurationLength()

setWarrantyDuration

public void setWarrantyDuration(WarrantyDurationDetailsType[] values)
Parameters:
values - allowed objects are WarrantyDurationDetailsType

_getWarrantyDuration

protected List<WarrantyDurationDetailsType> _getWarrantyDuration()

setWarrantyDuration

public WarrantyDurationDetailsType setWarrantyDuration(int idx,
                                                       WarrantyDurationDetailsType value)
Parameters:
value - allowed object is WarrantyDurationDetailsType

isEAN

public Boolean isEAN()
Gets the value of the ean property.

Returns:
possible object is Boolean

setEAN

public void setEAN(Boolean value)
Sets the value of the ean property.

Parameters:
value - allowed object is Boolean

getShippingCostPaidBy

public ShippingCostPaidByDetailsType[] getShippingCostPaidBy()
Returns:
array of ShippingCostPaidByDetailsType

getShippingCostPaidBy

public ShippingCostPaidByDetailsType getShippingCostPaidBy(int idx)
Returns:
one of ShippingCostPaidByDetailsType

getShippingCostPaidByLength

public int getShippingCostPaidByLength()

setShippingCostPaidBy

public void setShippingCostPaidBy(ShippingCostPaidByDetailsType[] values)
Parameters:
values - allowed objects are ShippingCostPaidByDetailsType

_getShippingCostPaidBy

protected List<ShippingCostPaidByDetailsType> _getShippingCostPaidBy()

setShippingCostPaidBy

public ShippingCostPaidByDetailsType setShippingCostPaidBy(int idx,
                                                           ShippingCostPaidByDetailsType value)
Parameters:
value - allowed object is ShippingCostPaidByDetailsType

getRestockingFeeValue

public RestockingFeeValueDetailsType[] getRestockingFeeValue()
Returns:
array of RestockingFeeValueDetailsType

getRestockingFeeValue

public RestockingFeeValueDetailsType getRestockingFeeValue(int idx)
Returns:
one of RestockingFeeValueDetailsType

getRestockingFeeValueLength

public int getRestockingFeeValueLength()

setRestockingFeeValue

public void setRestockingFeeValue(RestockingFeeValueDetailsType[] values)
Parameters:
values - allowed objects are RestockingFeeValueDetailsType

_getRestockingFeeValue

protected List<RestockingFeeValueDetailsType> _getRestockingFeeValue()

setRestockingFeeValue

public RestockingFeeValueDetailsType setRestockingFeeValue(int idx,
                                                           RestockingFeeValueDetailsType value)
Parameters:
value - allowed object is RestockingFeeValueDetailsType

getDetailVersion

public String getDetailVersion()
Gets the value of the detailVersion property.

Returns:
possible object is String

setDetailVersion

public void setDetailVersion(String value)
Sets the value of the detailVersion property.

Parameters:
value - allowed object is String

getUpdateTime

public Calendar getUpdateTime()
Gets the value of the updateTime property.

Returns:
possible object is String

setUpdateTime

public void setUpdateTime(Calendar value)
Sets the value of the updateTime 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.