Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ReturnPolicyDetailsType

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

public class ReturnPolicyDetailsType
extends java.lang.Object
implements java.io.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. 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.

Note: The GeteBayDetails call returns site-default Return Policy settings. For most categories within a given eBay site, the supported Return Policy options/values are the same, but there a few exceptions. To discover what Return Policy features/settings that a particular category supports, call GetCategoryFeatures and include any or all of the domestic and or international Return Policy-related FeatureID values to see the Return Policy features/settings available for domestic and international returns, respectively.

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  java.util.List<java.lang.Object> any
           
protected  java.lang.Boolean description
           
protected  java.lang.String detailVersion
           
protected  java.lang.Boolean ean
           
protected  java.util.List<RefundDetailsType> refund
           
protected  java.util.List<RestockingFeeValueDetailsType> restockingFeeValue
           
protected  java.util.List<ReturnsAcceptedDetailsType> returnsAccepted
           
protected  java.util.List<ReturnsWithinDetailsType> returnsWithin
           
protected  java.util.List<ShippingCostPaidByDetailsType> shippingCostPaidBy
           
protected  java.util.Calendar updateTime
           
protected  java.util.List<WarrantyDurationDetailsType> warrantyDuration
           
protected  java.util.List<WarrantyOfferedDetailsType> warrantyOffered
           
protected  java.util.List<WarrantyTypeDetailsType> warrantyType
           
 
Constructor Summary
ReturnPolicyDetailsType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
protected  java.util.List<RefundDetailsType> _getRefund()
           
protected  java.util.List<RestockingFeeValueDetailsType> _getRestockingFeeValue()
           
protected  java.util.List<ReturnsAcceptedDetailsType> _getReturnsAccepted()
           
protected  java.util.List<ReturnsWithinDetailsType> _getReturnsWithin()
           
protected  java.util.List<ShippingCostPaidByDetailsType> _getShippingCostPaidBy()
           
protected  java.util.List<WarrantyDurationDetailsType> _getWarrantyDuration()
           
protected  java.util.List<WarrantyOfferedDetailsType> _getWarrantyOffered()
           
protected  java.util.List<WarrantyTypeDetailsType> _getWarrantyType()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.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()
           
 java.util.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()
           
 java.lang.Boolean isDescription()
          Gets the value of the description property.
 java.lang.Boolean isEAN()
          Gets the value of the ean property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDescription(java.lang.Boolean value)
          Sets the value of the description property.
 void setDetailVersion(java.lang.String value)
          Sets the value of the detailVersion property.
 void setEAN(java.lang.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(java.util.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 java.util.List<RefundDetailsType> refund

returnsWithin

protected java.util.List<ReturnsWithinDetailsType> returnsWithin

returnsAccepted

protected java.util.List<ReturnsAcceptedDetailsType> returnsAccepted

description

protected java.lang.Boolean description

warrantyOffered

protected java.util.List<WarrantyOfferedDetailsType> warrantyOffered

warrantyType

protected java.util.List<WarrantyTypeDetailsType> warrantyType

warrantyDuration

protected java.util.List<WarrantyDurationDetailsType> warrantyDuration

ean

protected java.lang.Boolean ean

shippingCostPaidBy

protected java.util.List<ShippingCostPaidByDetailsType> shippingCostPaidBy

restockingFeeValue

protected java.util.List<RestockingFeeValueDetailsType> restockingFeeValue

detailVersion

protected java.lang.String detailVersion

updateTime

protected java.util.Calendar updateTime

any

protected java.util.List<java.lang.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 java.util.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 java.util.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 java.util.List<ReturnsAcceptedDetailsType> _getReturnsAccepted()

setReturnsAccepted

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

isDescription

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

Returns:
possible object is Boolean

setDescription

public void setDescription(java.lang.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 java.util.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 java.util.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 java.util.List<WarrantyDurationDetailsType> _getWarrantyDuration()

setWarrantyDuration

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

isEAN

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

Returns:
possible object is Boolean

setEAN

public void setEAN(java.lang.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 java.util.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 java.util.List<RestockingFeeValueDetailsType> _getRestockingFeeValue()

setRestockingFeeValue

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

getDetailVersion

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

Returns:
possible object is String

setDetailVersion

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

Parameters:
value - allowed object is String

getUpdateTime

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

Returns:
possible object is String

setUpdateTime

public void setUpdateTime(java.util.Calendar value)
Sets the value of the updateTime property.

Parameters:
value - allowed object is String

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_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 Object Element

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.