Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class ReturnPolicyType

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

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

Type used to express the details of the return policy for an item.

To get the metadata on the values you can use for specific marketplaces, call GeteBayDetails with DetailName set to ReturnPolicyDetails, review the ReturnPolicyDetails fields in the response.

Note: In version 1061, the options for this field were reduced. eBay will throw an error if you attempt to list an item with this field set to a value that is not accepted by the target marketplace. See the Release Notes for details.

Java class for ReturnPolicyType complex type.

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

 <complexType name="ReturnPolicyType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="RefundOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="Refund" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ReturnsWithinOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="ReturnsWithin" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ReturnsAcceptedOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="ReturnsAccepted" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="Description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="WarrantyOfferedOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="WarrantyOffered" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="WarrantyTypeOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="WarrantyType" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="WarrantyDurationOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="WarrantyDuration" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="ShippingCostPaidByOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="ShippingCostPaidBy" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="RestockingFeeValue" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="RestockingFeeValueOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="ExtendedHolidayReturns" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
         <element name="InternationalRefundOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="InternationalReturnsAcceptedOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="InternationalReturnsWithinOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <element name="InternationalShippingCostPaidByOption" type="{http://www.w3.org/2001/XMLSchema}token" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  java.util.List<java.lang.Object> any
           
protected  java.lang.String description
           
protected  java.lang.Boolean extendedHolidayReturns
           
protected  java.lang.String internationalRefundOption
           
protected  java.lang.String internationalReturnsAcceptedOption
           
protected  java.lang.String internationalReturnsWithinOption
           
protected  java.lang.String internationalShippingCostPaidByOption
           
protected  java.lang.String refund
           
protected  java.lang.String refundOption
           
protected  java.lang.String restockingFeeValue
           
protected  java.lang.String restockingFeeValueOption
           
protected  java.lang.String returnsAccepted
           
protected  java.lang.String returnsAcceptedOption
           
protected  java.lang.String returnsWithin
           
protected  java.lang.String returnsWithinOption
           
protected  java.lang.String shippingCostPaidBy
           
protected  java.lang.String shippingCostPaidByOption
           
protected  java.lang.String warrantyDuration
           
protected  java.lang.String warrantyDurationOption
           
protected  java.lang.String warrantyOffered
           
protected  java.lang.String warrantyOfferedOption
           
protected  java.lang.String warrantyType
           
protected  java.lang.String warrantyTypeOption
           
 
Constructor Summary
ReturnPolicyType()
           
 
Method Summary
protected  java.util.List<java.lang.Object> _getAny()
           
 java.lang.Object[] getAny()
           
 java.lang.Object getAny(int idx)
           
 int getAnyLength()
           
 java.lang.String getDescription()
          Gets the value of the description property.
 java.lang.String getInternationalRefundOption()
          Gets the value of the internationalRefundOption property.
 java.lang.String getInternationalReturnsAcceptedOption()
          Gets the value of the internationalReturnsAcceptedOption property.
 java.lang.String getInternationalReturnsWithinOption()
          Gets the value of the internationalReturnsWithinOption property.
 java.lang.String getInternationalShippingCostPaidByOption()
          Gets the value of the internationalShippingCostPaidByOption property.
 java.lang.String getRefund()
          Gets the value of the refund property.
 java.lang.String getRefundOption()
          Gets the value of the refundOption property.
 java.lang.String getRestockingFeeValue()
          Gets the value of the restockingFeeValue property.
 java.lang.String getRestockingFeeValueOption()
          Gets the value of the restockingFeeValueOption property.
 java.lang.String getReturnsAccepted()
          Gets the value of the returnsAccepted property.
 java.lang.String getReturnsAcceptedOption()
          Gets the value of the returnsAcceptedOption property.
 java.lang.String getReturnsWithin()
          Gets the value of the returnsWithin property.
 java.lang.String getReturnsWithinOption()
          Gets the value of the returnsWithinOption property.
 java.lang.String getShippingCostPaidBy()
          Gets the value of the shippingCostPaidBy property.
 java.lang.String getShippingCostPaidByOption()
          Gets the value of the shippingCostPaidByOption property.
 java.lang.String getWarrantyDuration()
          Gets the value of the warrantyDuration property.
 java.lang.String getWarrantyDurationOption()
          Gets the value of the warrantyDurationOption property.
 java.lang.String getWarrantyOffered()
          Gets the value of the warrantyOffered property.
 java.lang.String getWarrantyOfferedOption()
          Gets the value of the warrantyOfferedOption property.
 java.lang.String getWarrantyType()
          Gets the value of the warrantyType property.
 java.lang.String getWarrantyTypeOption()
          Gets the value of the warrantyTypeOption property.
 java.lang.Boolean isExtendedHolidayReturns()
          Gets the value of the extendedHolidayReturns property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setDescription(java.lang.String value)
          Sets the value of the description property.
 void setExtendedHolidayReturns(java.lang.Boolean value)
          Sets the value of the extendedHolidayReturns property.
 void setInternationalRefundOption(java.lang.String value)
          Sets the value of the internationalRefundOption property.
 void setInternationalReturnsAcceptedOption(java.lang.String value)
          Sets the value of the internationalReturnsAcceptedOption property.
 void setInternationalReturnsWithinOption(java.lang.String value)
          Sets the value of the internationalReturnsWithinOption property.
 void setInternationalShippingCostPaidByOption(java.lang.String value)
          Sets the value of the internationalShippingCostPaidByOption property.
 void setRefund(java.lang.String value)
          Sets the value of the refund property.
 void setRefundOption(java.lang.String value)
          Sets the value of the refundOption property.
 void setRestockingFeeValue(java.lang.String value)
          Sets the value of the restockingFeeValue property.
 void setRestockingFeeValueOption(java.lang.String value)
          Sets the value of the restockingFeeValueOption property.
 void setReturnsAccepted(java.lang.String value)
          Sets the value of the returnsAccepted property.
 void setReturnsAcceptedOption(java.lang.String value)
          Sets the value of the returnsAcceptedOption property.
 void setReturnsWithin(java.lang.String value)
          Sets the value of the returnsWithin property.
 void setReturnsWithinOption(java.lang.String value)
          Sets the value of the returnsWithinOption property.
 void setShippingCostPaidBy(java.lang.String value)
          Sets the value of the shippingCostPaidBy property.
 void setShippingCostPaidByOption(java.lang.String value)
          Sets the value of the shippingCostPaidByOption property.
 void setWarrantyDuration(java.lang.String value)
          Sets the value of the warrantyDuration property.
 void setWarrantyDurationOption(java.lang.String value)
          Sets the value of the warrantyDurationOption property.
 void setWarrantyOffered(java.lang.String value)
          Sets the value of the warrantyOffered property.
 void setWarrantyOfferedOption(java.lang.String value)
          Sets the value of the warrantyOfferedOption property.
 void setWarrantyType(java.lang.String value)
          Sets the value of the warrantyType property.
 void setWarrantyTypeOption(java.lang.String value)
          Sets the value of the warrantyTypeOption property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

refundOption

protected java.lang.String refundOption

refund

protected java.lang.String refund

returnsWithinOption

protected java.lang.String returnsWithinOption

returnsWithin

protected java.lang.String returnsWithin

returnsAcceptedOption

protected java.lang.String returnsAcceptedOption

returnsAccepted

protected java.lang.String returnsAccepted

description

protected java.lang.String description

warrantyOfferedOption

protected java.lang.String warrantyOfferedOption

warrantyOffered

protected java.lang.String warrantyOffered

warrantyTypeOption

protected java.lang.String warrantyTypeOption

warrantyType

protected java.lang.String warrantyType

warrantyDurationOption

protected java.lang.String warrantyDurationOption

warrantyDuration

protected java.lang.String warrantyDuration

shippingCostPaidByOption

protected java.lang.String shippingCostPaidByOption

shippingCostPaidBy

protected java.lang.String shippingCostPaidBy

restockingFeeValue

protected java.lang.String restockingFeeValue

restockingFeeValueOption

protected java.lang.String restockingFeeValueOption

extendedHolidayReturns

protected java.lang.Boolean extendedHolidayReturns

internationalRefundOption

protected java.lang.String internationalRefundOption

internationalReturnsAcceptedOption

protected java.lang.String internationalReturnsAcceptedOption

internationalReturnsWithinOption

protected java.lang.String internationalReturnsWithinOption

internationalShippingCostPaidByOption

protected java.lang.String internationalShippingCostPaidByOption

any

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

ReturnPolicyType

public ReturnPolicyType()
Method Detail

getRefundOption

public java.lang.String getRefundOption()
Gets the value of the refundOption property.

Returns:
possible object is String

setRefundOption

public void setRefundOption(java.lang.String value)
Sets the value of the refundOption property.

Parameters:
value - allowed object is String

getRefund

public java.lang.String getRefund()
Gets the value of the refund property.

Returns:
possible object is String

setRefund

public void setRefund(java.lang.String value)
Sets the value of the refund property.

Parameters:
value - allowed object is String

getReturnsWithinOption

public java.lang.String getReturnsWithinOption()
Gets the value of the returnsWithinOption property.

Returns:
possible object is String

setReturnsWithinOption

public void setReturnsWithinOption(java.lang.String value)
Sets the value of the returnsWithinOption property.

Parameters:
value - allowed object is String

getReturnsWithin

public java.lang.String getReturnsWithin()
Gets the value of the returnsWithin property.

Returns:
possible object is String

setReturnsWithin

public void setReturnsWithin(java.lang.String value)
Sets the value of the returnsWithin property.

Parameters:
value - allowed object is String

getReturnsAcceptedOption

public java.lang.String getReturnsAcceptedOption()
Gets the value of the returnsAcceptedOption property.

Returns:
possible object is String

setReturnsAcceptedOption

public void setReturnsAcceptedOption(java.lang.String value)
Sets the value of the returnsAcceptedOption property.

Parameters:
value - allowed object is String

getReturnsAccepted

public java.lang.String getReturnsAccepted()
Gets the value of the returnsAccepted property.

Returns:
possible object is String

setReturnsAccepted

public void setReturnsAccepted(java.lang.String value)
Sets the value of the returnsAccepted property.

Parameters:
value - allowed object is String

getDescription

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

Returns:
possible object is String

setDescription

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

Parameters:
value - allowed object is String

getWarrantyOfferedOption

public java.lang.String getWarrantyOfferedOption()
Gets the value of the warrantyOfferedOption property.

Returns:
possible object is String

setWarrantyOfferedOption

public void setWarrantyOfferedOption(java.lang.String value)
Sets the value of the warrantyOfferedOption property.

Parameters:
value - allowed object is String

getWarrantyOffered

public java.lang.String getWarrantyOffered()
Gets the value of the warrantyOffered property.

Returns:
possible object is String

setWarrantyOffered

public void setWarrantyOffered(java.lang.String value)
Sets the value of the warrantyOffered property.

Parameters:
value - allowed object is String

getWarrantyTypeOption

public java.lang.String getWarrantyTypeOption()
Gets the value of the warrantyTypeOption property.

Returns:
possible object is String

setWarrantyTypeOption

public void setWarrantyTypeOption(java.lang.String value)
Sets the value of the warrantyTypeOption property.

Parameters:
value - allowed object is String

getWarrantyType

public java.lang.String getWarrantyType()
Gets the value of the warrantyType property.

Returns:
possible object is String

setWarrantyType

public void setWarrantyType(java.lang.String value)
Sets the value of the warrantyType property.

Parameters:
value - allowed object is String

getWarrantyDurationOption

public java.lang.String getWarrantyDurationOption()
Gets the value of the warrantyDurationOption property.

Returns:
possible object is String

setWarrantyDurationOption

public void setWarrantyDurationOption(java.lang.String value)
Sets the value of the warrantyDurationOption property.

Parameters:
value - allowed object is String

getWarrantyDuration

public java.lang.String getWarrantyDuration()
Gets the value of the warrantyDuration property.

Returns:
possible object is String

setWarrantyDuration

public void setWarrantyDuration(java.lang.String value)
Sets the value of the warrantyDuration property.

Parameters:
value - allowed object is String

getShippingCostPaidByOption

public java.lang.String getShippingCostPaidByOption()
Gets the value of the shippingCostPaidByOption property.

Returns:
possible object is String

setShippingCostPaidByOption

public void setShippingCostPaidByOption(java.lang.String value)
Sets the value of the shippingCostPaidByOption property.

Parameters:
value - allowed object is String

getShippingCostPaidBy

public java.lang.String getShippingCostPaidBy()
Gets the value of the shippingCostPaidBy property.

Returns:
possible object is String

setShippingCostPaidBy

public void setShippingCostPaidBy(java.lang.String value)
Sets the value of the shippingCostPaidBy property.

Parameters:
value - allowed object is String

getRestockingFeeValue

public java.lang.String getRestockingFeeValue()
Gets the value of the restockingFeeValue property.

Returns:
possible object is String

setRestockingFeeValue

public void setRestockingFeeValue(java.lang.String value)
Sets the value of the restockingFeeValue property.

Parameters:
value - allowed object is String

getRestockingFeeValueOption

public java.lang.String getRestockingFeeValueOption()
Gets the value of the restockingFeeValueOption property.

Returns:
possible object is String

setRestockingFeeValueOption

public void setRestockingFeeValueOption(java.lang.String value)
Sets the value of the restockingFeeValueOption property.

Parameters:
value - allowed object is String

isExtendedHolidayReturns

public java.lang.Boolean isExtendedHolidayReturns()
Gets the value of the extendedHolidayReturns property.

Returns:
possible object is Boolean

setExtendedHolidayReturns

public void setExtendedHolidayReturns(java.lang.Boolean value)
Sets the value of the extendedHolidayReturns property.

Parameters:
value - allowed object is Boolean

getInternationalRefundOption

public java.lang.String getInternationalRefundOption()
Gets the value of the internationalRefundOption property.

Returns:
possible object is String

setInternationalRefundOption

public void setInternationalRefundOption(java.lang.String value)
Sets the value of the internationalRefundOption property.

Parameters:
value - allowed object is String

getInternationalReturnsAcceptedOption

public java.lang.String getInternationalReturnsAcceptedOption()
Gets the value of the internationalReturnsAcceptedOption property.

Returns:
possible object is String

setInternationalReturnsAcceptedOption

public void setInternationalReturnsAcceptedOption(java.lang.String value)
Sets the value of the internationalReturnsAcceptedOption property.

Parameters:
value - allowed object is String

getInternationalReturnsWithinOption

public java.lang.String getInternationalReturnsWithinOption()
Gets the value of the internationalReturnsWithinOption property.

Returns:
possible object is String

setInternationalReturnsWithinOption

public void setInternationalReturnsWithinOption(java.lang.String value)
Sets the value of the internationalReturnsWithinOption property.

Parameters:
value - allowed object is String

getInternationalShippingCostPaidByOption

public java.lang.String getInternationalShippingCostPaidByOption()
Gets the value of the internationalShippingCostPaidByOption property.

Returns:
possible object is String

setInternationalShippingCostPaidByOption

public void setInternationalShippingCostPaidByOption(java.lang.String value)
Sets the value of the internationalShippingCostPaidByOption 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.