Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class BuyerType

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

public class BuyerType
extends Object
implements Serializable

This type is used by various Get calls, including GetItem and GetOrders. Only the order management calls return the BuyerTaxIdentifier container, and each call that uses BuyerType uses the ShippingAddress container a little differently.

Java class for BuyerType complex type.

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

 <complexType name="BuyerType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ShippingAddress" type="{urn:ebay:apis:eBLBaseComponents}AddressType" minOccurs="0"/>
         <element name="BuyerTaxIdentifier" type="{urn:ebay:apis:eBLBaseComponents}TaxIdentifierType" maxOccurs="unbounded" minOccurs="0"/>
         <any/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  List<Object> any
           
protected  List<TaxIdentifierType> buyerTaxIdentifier
           
protected  AddressType shippingAddress
           
 
Constructor Summary
BuyerType()
           
 
Method Summary
protected  List<Object> _getAny()
           
protected  List<TaxIdentifierType> _getBuyerTaxIdentifier()
           
 Object[] getAny()
           
 Object getAny(int idx)
           
 int getAnyLength()
           
 TaxIdentifierType[] getBuyerTaxIdentifier()
           
 TaxIdentifierType getBuyerTaxIdentifier(int idx)
           
 int getBuyerTaxIdentifierLength()
           
 AddressType getShippingAddress()
          Gets the value of the shippingAddress property.
 Object setAny(int idx, Object value)
           
 void setAny(Object[] values)
           
 TaxIdentifierType setBuyerTaxIdentifier(int idx, TaxIdentifierType value)
           
 void setBuyerTaxIdentifier(TaxIdentifierType[] values)
           
 void setShippingAddress(AddressType value)
          Sets the value of the shippingAddress property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

shippingAddress

protected AddressType shippingAddress

buyerTaxIdentifier

protected List<TaxIdentifierType> buyerTaxIdentifier

any

protected List<Object> any
Constructor Detail

BuyerType

public BuyerType()
Method Detail

getShippingAddress

public AddressType getShippingAddress()
Gets the value of the shippingAddress property.

Returns:
possible object is AddressType

setShippingAddress

public void setShippingAddress(AddressType value)
Sets the value of the shippingAddress property.

Parameters:
value - allowed object is AddressType

getBuyerTaxIdentifier

public TaxIdentifierType[] getBuyerTaxIdentifier()
Returns:
array of TaxIdentifierType

getBuyerTaxIdentifier

public TaxIdentifierType getBuyerTaxIdentifier(int idx)
Returns:
one of TaxIdentifierType

getBuyerTaxIdentifierLength

public int getBuyerTaxIdentifierLength()

setBuyerTaxIdentifier

public void setBuyerTaxIdentifier(TaxIdentifierType[] values)
Parameters:
values - allowed objects are TaxIdentifierType

_getBuyerTaxIdentifier

protected List<TaxIdentifierType> _getBuyerTaxIdentifier()

setBuyerTaxIdentifier

public TaxIdentifierType setBuyerTaxIdentifier(int idx,
                                               TaxIdentifierType value)
Parameters:
value - allowed object is TaxIdentifierType

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.