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

com.ebay.sdk.call.GetSellingManagerTemplatesCall 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.Long;

import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the GetSellingManagerTemplates 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: SaleTemplateID - The ID of the template whose data will be returned. * A SaleTemplateID is the ID of a Selling Manager template. * A Selling Manager template contains the data needed to list an item. * One or more template IDs can be specified, each in * its own container. * You can obtain a SaleTemplateID by calling GetSellingManagerInventory. *
Output property: ReturnedSellingManagerTemplateDetailsArray - Contains the data of the templates requested on input. * A Selling Manager template contains the data needed to list an item. * Empty if no items are available that match the request. * * @author Ron Murphy * @version 1.0 */ public class GetSellingManagerTemplatesCall extends com.ebay.sdk.ApiCall { private long[] saleTemplateID = null; private SellingManagerTemplateDetailsArrayType returnedSellingManagerTemplateDetailsArray=null; /** * Constructor. */ public GetSellingManagerTemplatesCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public GetSellingManagerTemplatesCall(ApiContext apiContext) { super(apiContext); } /** * Retrieves Selling Manager templates. * This call is subject to change without notice; the * deprecation process is inapplicable to this call. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The SellingManagerTemplateDetailsArrayType object. */ public SellingManagerTemplateDetailsArrayType getSellingManagerTemplates() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { GetSellingManagerTemplatesRequestType req; req = new GetSellingManagerTemplatesRequestType(); if (this.saleTemplateID != null) req.setSaleTemplateID(this.saleTemplateID); GetSellingManagerTemplatesResponseType resp = (GetSellingManagerTemplatesResponseType) execute(req); this.returnedSellingManagerTemplateDetailsArray = resp.getSellingManagerTemplateDetailsArray(); return this.getReturnedSellingManagerTemplateDetailsArray(); } /** * Gets the GetSellingManagerTemplatesRequestType.saleTemplateID. * @return long[] */ public long[] getSaleTemplateID() { return this.saleTemplateID; } /** * Sets the GetSellingManagerTemplatesRequestType.saleTemplateID. * @param saleTemplateID long[] */ public void setSaleTemplateID(long[] saleTemplateID) { this.saleTemplateID = saleTemplateID; } /** * Valid after executing the API. * Gets the returned GetSellingManagerTemplatesResponseType.returnedSellingManagerTemplateDetailsArray. * * @return SellingManagerTemplateDetailsArrayType */ public SellingManagerTemplateDetailsArrayType getReturnedSellingManagerTemplateDetailsArray() { return this.returnedSellingManagerTemplateDetailsArray; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy