Changes since
the last release

com.ebay.soap.eBLBaseComponents
Class MessageMediaType

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

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

Container for the image file that is to be sent in a message, which lets sellers share photos in messages using the API. The photo must be uploaded by the seller or buyer to EPS (eBay Picture Services) using a separate API call or the web flow. After the image is on the eBay server, you can use AddMemberMessage calls to pass the URL of the image in a message. The uploaded images will be available as part of the email as a thumbnail image. Clicking on the thumbnail, opens a larger version of the image in a filmstrip. The image name will be displayed on the title of the filmstrip component. These uploaded images will also be returned as MessageMediaType arrays in the GetMemberMessages and GetMyMessages API response. It doesn't matter if an image was uploaded using the web flow or using the API, it can be accessed using either the web flow or the API and web.

Java class for MessageMediaType complex type.

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

 <complexType name="MessageMediaType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="MediaURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
         <element name="MediaName" 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 mediaName
           
protected  java.lang.String mediaURL
           
 
Constructor Summary
MessageMediaType()
           
 
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 getMediaName()
          Gets the value of the mediaName property.
 java.lang.String getMediaURL()
          Gets the value of the mediaURL property.
 java.lang.Object setAny(int idx, java.lang.Object value)
           
 void setAny(java.lang.Object[] values)
           
 void setMediaName(java.lang.String value)
          Sets the value of the mediaName property.
 void setMediaURL(java.lang.String value)
          Sets the value of the mediaURL property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mediaURL

protected java.lang.String mediaURL

mediaName

protected java.lang.String mediaName

any

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

MessageMediaType

public MessageMediaType()
Method Detail

getMediaURL

public java.lang.String getMediaURL()
Gets the value of the mediaURL property.

Returns:
possible object is String

setMediaURL

public void setMediaURL(java.lang.String value)
Sets the value of the mediaURL property.

Parameters:
value - allowed object is String

getMediaName

public java.lang.String getMediaName()
Gets the value of the mediaName property.

Returns:
possible object is String

setMediaName

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