Changes since
the last release

com.ebay.sdk.call
Class SetSellingManagerTemplateAutomationRuleCall

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

public class SetSellingManagerTemplateAutomationRuleCall
extends ApiCall

Wrapper class of the SetSellingManagerTemplateAutomationRule 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 Selling Manager template whose automation rules you want to change. You can obtain a SaleTemplateID by calling GetSellingManagerInventory.
Input property: AutomatedListingRule - The information for the automated listing rule to be associated with the template.
Input property: AutomatedRelistingRule - The information for the automated relisting rule to be associated with the template.
Input property: AutomatedSecondChanceOfferRule - The information for the automated Second Chance Offer rule to be associated with the template.
Output property: ReturnedAutomatedListingRule - Contains the automated listing rule associated with this template.
Output property: ReturnedAutomatedRelistingRule - Contains the automated relisting rule associated with this template.
Output property: ReturnedAutomatedSecondChanceOfferRule - Contains the automated Second Chance Offer rule associated with this template.
Output property: ReturnedFees - Contains fees that may be incurred when items are listed using the automation rules (e.g., a scheduled listing fee). Use of an automation rule does not in itself have a fee, but use can result in a fee.

Version:
1.0
Author:
Ron Murphy

Field Summary
 
Fields inherited from class com.ebay.sdk.ApiCall
apiException, sendReqListeners
 
Constructor Summary
SetSellingManagerTemplateAutomationRuleCall()
          Constructor.
SetSellingManagerTemplateAutomationRuleCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 SellingManagerAutoListType getAutomatedListingRule()
          Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedListingRule.
 SellingManagerAutoRelistType getAutomatedRelistingRule()
          Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedRelistingRule.
 SellingManagerAutoSecondChanceOfferType getAutomatedSecondChanceOfferRule()
          Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedSecondChanceOfferRule.
 SellingManagerAutoListType getReturnedAutomatedListingRule()
          Valid after executing the API.
 SellingManagerAutoRelistType getReturnedAutomatedRelistingRule()
          Valid after executing the API.
 SellingManagerAutoSecondChanceOfferType getReturnedAutomatedSecondChanceOfferRule()
          Valid after executing the API.
 FeesType getReturnedFees()
          Valid after executing the API.
 java.lang.Long getSaleTemplateID()
          Gets the SetSellingManagerTemplateAutomationRuleRequestType.saleTemplateID.
 void setAutomatedListingRule(SellingManagerAutoListType automatedListingRule)
          Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedListingRule.
 void setAutomatedRelistingRule(SellingManagerAutoRelistType automatedRelistingRule)
          Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedRelistingRule.
 void setAutomatedSecondChanceOfferRule(SellingManagerAutoSecondChanceOfferType automatedSecondChanceOfferRule)
          Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedSecondChanceOfferRule.
 void setSaleTemplateID(java.lang.Long saleTemplateID)
          Sets the SetSellingManagerTemplateAutomationRuleRequestType.saleTemplateID.
 SellingManagerAutoListType setSellingManagerTemplateAutomationRule()
          Revises, or adds to, the Selling Manager automation rules associated with a template.
 
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, isEnableoAuthTokenHTTPHeader, removeSendRequestListener, setApiContext, setBotBlock, setCallRetry, setDetailLevel, setEnableCompression, setEnableoAuthTokenHTTPHeader, 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

SetSellingManagerTemplateAutomationRuleCall

public SetSellingManagerTemplateAutomationRuleCall()
Constructor.


SetSellingManagerTemplateAutomationRuleCall

public SetSellingManagerTemplateAutomationRuleCall(ApiContext apiContext)
Constructor.

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

setSellingManagerTemplateAutomationRule

public SellingManagerAutoListType setSellingManagerTemplateAutomationRule()
                                                                   throws ApiException,
                                                                          SdkException,
                                                                          java.lang.Exception
Revises, or adds to, the Selling Manager automation rules associated with a template.

This call is subject to change without notice; the deprecation process is inapplicable to this call. You must have a Selling Manager Pro subscription to use this call.

Using this call, you can add either an automated listing or relisting rule, but not both. You also can add a Second Chance Offer rule.

This call also enables you to specify particular information about automation rules.

If a node is not passed in the call, the setting for the corresponding automation rule remains unchanged.

Returns:
The SellingManagerAutoListType object.
Throws:
ApiException
SdkException
java.lang.Exception

getAutomatedListingRule

public SellingManagerAutoListType getAutomatedListingRule()
Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedListingRule.

Returns:
SellingManagerAutoListType

setAutomatedListingRule

public void setAutomatedListingRule(SellingManagerAutoListType automatedListingRule)
Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedListingRule.

Parameters:
automatedListingRule - SellingManagerAutoListType

getAutomatedRelistingRule

public SellingManagerAutoRelistType getAutomatedRelistingRule()
Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedRelistingRule.

Returns:
SellingManagerAutoRelistType

setAutomatedRelistingRule

public void setAutomatedRelistingRule(SellingManagerAutoRelistType automatedRelistingRule)
Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedRelistingRule.

Parameters:
automatedRelistingRule - SellingManagerAutoRelistType

getAutomatedSecondChanceOfferRule

public SellingManagerAutoSecondChanceOfferType getAutomatedSecondChanceOfferRule()
Gets the SetSellingManagerTemplateAutomationRuleRequestType.automatedSecondChanceOfferRule.

Returns:
SellingManagerAutoSecondChanceOfferType

setAutomatedSecondChanceOfferRule

public void setAutomatedSecondChanceOfferRule(SellingManagerAutoSecondChanceOfferType automatedSecondChanceOfferRule)
Sets the SetSellingManagerTemplateAutomationRuleRequestType.automatedSecondChanceOfferRule.

Parameters:
automatedSecondChanceOfferRule - SellingManagerAutoSecondChanceOfferType

getSaleTemplateID

public java.lang.Long getSaleTemplateID()
Gets the SetSellingManagerTemplateAutomationRuleRequestType.saleTemplateID.

Returns:
Long

setSaleTemplateID

public void setSaleTemplateID(java.lang.Long saleTemplateID)
Sets the SetSellingManagerTemplateAutomationRuleRequestType.saleTemplateID.

Parameters:
saleTemplateID - Long

getReturnedAutomatedListingRule

public SellingManagerAutoListType getReturnedAutomatedListingRule()
Valid after executing the API. Gets the returned SetSellingManagerTemplateAutomationRuleResponseType.returnedAutomatedListingRule.

Returns:
SellingManagerAutoListType

getReturnedAutomatedRelistingRule

public SellingManagerAutoRelistType getReturnedAutomatedRelistingRule()
Valid after executing the API. Gets the returned SetSellingManagerTemplateAutomationRuleResponseType.returnedAutomatedRelistingRule.

Returns:
SellingManagerAutoRelistType

getReturnedAutomatedSecondChanceOfferRule

public SellingManagerAutoSecondChanceOfferType getReturnedAutomatedSecondChanceOfferRule()
Valid after executing the API. Gets the returned SetSellingManagerTemplateAutomationRuleResponseType.returnedAutomatedSecondChanceOfferRule.

Returns:
SellingManagerAutoSecondChanceOfferType

getReturnedFees

public FeesType getReturnedFees()
Valid after executing the API. Gets the returned SetSellingManagerTemplateAutomationRuleResponseType.returnedFees.

Returns:
FeesType

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.