Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class BrandMPNType

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

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

Type defining the BrandMPN container which is used to identify a product (through unique product brand and Manufacturer Part Number combination).

Note: If a Brand/MPN pair is required for the category/brand, it is highly recommended that the brand and MPN name/value pairs be passed in through ItemSpecifics.NameValueList containers, since brand and MPN values will be completely dropped from the listing if eBay is not able to find a catalog match based on the provided Brand/MPN pair.

Java class for BrandMPNType complex type.

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

 <complexType name="BrandMPNType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="Brand" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="MPN" type="{http://www.w3.org/2001/XMLSchema}string" 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 brand
           
protected  java.lang.String mpn
           
 
Constructor Summary
BrandMPNType()
           
 
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 getBrand()
          Gets the value of the brand property.
 java.lang.String getMPN()
          Gets the value of the mpn property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setBrand(java.lang.String value)
          Sets the value of the brand property.
 void setMPN(java.lang.String value)
          Sets the value of the mpn property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

brand

protected java.lang.String brand

mpn

protected java.lang.String mpn

any

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

BrandMPNType

public BrandMPNType()
Method Detail

getBrand

public java.lang.String getBrand()
Gets the value of the brand property.

Returns:
possible object is String

setBrand

public void setBrand(java.lang.String value)
Sets the value of the brand property.

Parameters:
value - allowed object is String

getMPN

public java.lang.String getMPN()
Gets the value of the mpn property.

Returns:
possible object is String

setMPN

public void setMPN(java.lang.String value)
Sets the value of the mpn property.

Parameters:
value - allowed object is String

getAny

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

getAny

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

getAnyLength

public int getAnyLength()

setAny

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

_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 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.