All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ebay.sdk.call.ExtendSiteHostedPicturesCall Maven / Gradle / Ivy

There is a newer version: 939.0.0
Show newest version
/*
Copyright (c) 2013 eBay, Inc.
This program is licensed under the terms of the eBay Common Development and
Distribution License (CDDL) Version 1.0 (the "License") and any subsequent  version 
thereof released by eBay.  The then-current version of the License can be found 
at http://www.opensource.org/licenses/cddl1.php and in the eBaySDKLicense file that 
is under the eBay SDK ../docs directory.
*/

package com.ebay.sdk.call;

import java.lang.Integer;
import java.lang.String;

import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * 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 * @throws ApiException * @throws SdkException * @throws Exception * @return The String[] object. */ public String[] extendSiteHostedPictures() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { ExtendSiteHostedPicturesRequestType req; req = new ExtendSiteHostedPicturesRequestType(); if (this.pictureURL != null) req.setPictureURL(this.pictureURL); if (this.extensionInDays != null) req.setExtensionInDays(this.extensionInDays); ExtendSiteHostedPicturesResponseType resp = (ExtendSiteHostedPicturesResponseType) execute(req); this.returnedPictureURL = resp.getPictureURL(); return this.getReturnedPictureURL(); } /** * Gets the ExtendSiteHostedPicturesRequestType.extensionInDays. * @return Integer */ public Integer getExtensionInDays() { return this.extensionInDays; } /** * Sets the ExtendSiteHostedPicturesRequestType.extensionInDays. * @param extensionInDays Integer */ public void setExtensionInDays(Integer extensionInDays) { this.extensionInDays = extensionInDays; } /** * Gets the ExtendSiteHostedPicturesRequestType.pictureURL. * @return String[] */ public String[] getPictureURL() { return this.pictureURL; } /** * Sets the ExtendSiteHostedPicturesRequestType.pictureURL. * @param pictureURL String[] */ public void setPictureURL(String[] pictureURL) { this.pictureURL = pictureURL; } /** * Valid after executing the API. * Gets the returned ExtendSiteHostedPicturesResponseType.returnedPictureURL. * * @return String[] */ public String[] getReturnedPictureURL() { return this.returnedPictureURL; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy