Changes since
the last release

com.ebay.sdk.call
Class ExtendSiteHostedPicturesCall

java.lang.Object
  extended by com.ebay.sdk.ApiCall
      extended by com.ebay.sdk.call.ExtendSiteHostedPicturesCall

public class ExtendSiteHostedPicturesCall
extends ApiCall

Wrapper class of the ExtendSiteHostedPictures call of eBay SOAP API.

Title: SOAP API wrapper library.

Description: Contains wrapper classes for eBay SOAP APIs.

Copyright: Copyright (c) 2009

Company: eBay Inc.


Input property: PictureURL - The URL of the image hosted by eBay Picture Services.
Input property: ExtensionInDays - The number of days by which to extend the expiration date for the specified image.
Output property: ReturnedPictureURL - The URL of the site-hosted picture whose expiration date was extended through the ExtendSiteHostedPictures call. This field will be returned if the expiration date of the site-hosted picture was successfully extended.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
ExtendSiteHostedPicturesCall()
          Constructor.
ExtendSiteHostedPicturesCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 String[] extendSiteHostedPictures()
          This restricted call gives approved sellers the ability to extend the default and ongoing lifetime of pictures uploaded to eBay.
 Integer getExtensionInDays()
          Gets the ExtendSiteHostedPicturesRequestType.extensionInDays.
 String[] getPictureURL()
          Gets the ExtendSiteHostedPicturesRequestType.pictureURL.
 String[] getReturnedPictureURL()
          Valid after executing the API.
 void setExtensionInDays(Integer extensionInDays)
          Sets the ExtendSiteHostedPicturesRequestType.extensionInDays.
 void setPictureURL(String[] pictureURL)
          Sets the ExtendSiteHostedPicturesRequestType.pictureURL.
 
Methods inherited from class com.ebay.sdk.ApiCall
addDetailLevel, addSendRequestListener, execute, executeByApiName, getApiContext, getApiException, getBotBlock, getCallRetry, getDetailLevel, getEnableCompression, getEndUserIP, getErrorHandling, getInvocationID, getMessageID, getOutputSelector, getRequestXml, getResponseObject, getResponseXml, getSite, getWarningLevel, hasError, hasWarning, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEndUserIP, setErrorHandling, setInvocationID, setMessageID, setOutputSelector, setSite, setWarningLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtendSiteHostedPicturesCall

public ExtendSiteHostedPicturesCall()
Constructor.


ExtendSiteHostedPicturesCall

public ExtendSiteHostedPicturesCall(ApiContext apiContext)
Constructor.

Parameters:
apiContext - The ApiContext object to be used to make the call.
Method Detail

extendSiteHostedPictures

public String[] extendSiteHostedPictures()
                                  throws ApiException,
                                         SdkException,
                                         Exception
This restricted call gives approved sellers the ability to extend the default and ongoing lifetime of pictures uploaded to eBay.

Returns:
The String[] object.
Throws:
ApiException
SdkException
Exception

getExtensionInDays

public Integer getExtensionInDays()
Gets the ExtendSiteHostedPicturesRequestType.extensionInDays.

Returns:
Integer

setExtensionInDays

public void setExtensionInDays(Integer extensionInDays)
Sets the ExtendSiteHostedPicturesRequestType.extensionInDays.

Parameters:
extensionInDays - Integer

getPictureURL

public String[] getPictureURL()
Gets the ExtendSiteHostedPicturesRequestType.pictureURL.

Returns:
String[]

setPictureURL

public void setPictureURL(String[] pictureURL)
Sets the ExtendSiteHostedPicturesRequestType.pictureURL.

Parameters:
pictureURL - String[]

getReturnedPictureURL

public String[] getReturnedPictureURL()
Valid after executing the API. Gets the returned ExtendSiteHostedPicturesResponseType.returnedPictureURL.

Returns:
String[]

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.