Changes since
the last release

com.ebay.sdk.call
Class SetSellingManagerItemAutomationRuleCall

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

public class SetSellingManagerItemAutomationRuleCall
extends ApiCall

Wrapper class of the SetSellingManagerItemAutomationRule 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: ItemID - The unique identifier of the listing whose automation rules you want to change.
Input property: AutomatedRelistingRule - The information for the automated relisting rule to be associated with the listing.
Input property: AutomatedSecondChanceOfferRule - The information for the automated Second Chance Offer rule to be associated with the listing.
Output property: ReturnedAutomatedListingRule - Contains the automated listing rule associated with this item.
Output property: ReturnedAutomatedRelistingRule - Contains the automated relisting rule associated with this item.
Output property: ReturnedAutomatedSecondChanceOfferRule - Contains the automated Second Chance Offer rule associated with this item.
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
SetSellingManagerItemAutomationRuleCall()
          Constructor.
SetSellingManagerItemAutomationRuleCall(ApiContext apiContext)
          Constructor.
 
Method Summary
 SellingManagerAutoRelistType getAutomatedRelistingRule()
          Gets the SetSellingManagerItemAutomationRuleRequestType.automatedRelistingRule.
 SellingManagerAutoSecondChanceOfferType getAutomatedSecondChanceOfferRule()
          Gets the SetSellingManagerItemAutomationRuleRequestType.automatedSecondChanceOfferRule.
 java.lang.String getItemID()
          Gets the SetSellingManagerItemAutomationRuleRequestType.itemID.
 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.
 void setAutomatedRelistingRule(SellingManagerAutoRelistType automatedRelistingRule)
          Sets the SetSellingManagerItemAutomationRuleRequestType.automatedRelistingRule.
 void setAutomatedSecondChanceOfferRule(SellingManagerAutoSecondChanceOfferType automatedSecondChanceOfferRule)
          Sets the SetSellingManagerItemAutomationRuleRequestType.automatedSecondChanceOfferRule.
 void setItemID(java.lang.String itemID)
          Sets the SetSellingManagerItemAutomationRuleRequestType.itemID.
 SellingManagerAutoListType setSellingManagerItemAutomationRule()
          Revises, or adds to, the set of Selling Manager automation rules associated with an item.
 
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

SetSellingManagerItemAutomationRuleCall

public SetSellingManagerItemAutomationRuleCall()
Constructor.


SetSellingManagerItemAutomationRuleCall

public SetSellingManagerItemAutomationRuleCall(ApiContext apiContext)
Constructor.

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

setSellingManagerItemAutomationRule

public SellingManagerAutoListType setSellingManagerItemAutomationRule()
                                                               throws ApiException,
                                                                      SdkException,
                                                                      java.lang.Exception
Revises, or adds to, the set of Selling Manager automation rules associated with an item.

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 an automated relisting rule. You also can add a Second Chance Offer rule. Note that automated relisting rules can only be set on templates. An automated relisting rule for an item is inherited from a template.

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

getAutomatedRelistingRule

public SellingManagerAutoRelistType getAutomatedRelistingRule()
Gets the SetSellingManagerItemAutomationRuleRequestType.automatedRelistingRule.

Returns:
SellingManagerAutoRelistType

setAutomatedRelistingRule

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

Parameters:
automatedRelistingRule - SellingManagerAutoRelistType

getAutomatedSecondChanceOfferRule

public SellingManagerAutoSecondChanceOfferType getAutomatedSecondChanceOfferRule()
Gets the SetSellingManagerItemAutomationRuleRequestType.automatedSecondChanceOfferRule.

Returns:
SellingManagerAutoSecondChanceOfferType

setAutomatedSecondChanceOfferRule

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

Parameters:
automatedSecondChanceOfferRule - SellingManagerAutoSecondChanceOfferType

getItemID

public java.lang.String getItemID()
Gets the SetSellingManagerItemAutomationRuleRequestType.itemID.

Returns:
String

setItemID

public void setItemID(java.lang.String itemID)
Sets the SetSellingManagerItemAutomationRuleRequestType.itemID.

Parameters:
itemID - String

getReturnedAutomatedListingRule

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

Returns:
SellingManagerAutoListType

getReturnedAutomatedRelistingRule

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

Returns:
SellingManagerAutoRelistType

getReturnedAutomatedSecondChanceOfferRule

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

Returns:
SellingManagerAutoSecondChanceOfferType

getReturnedFees

public FeesType getReturnedFees()
Valid after executing the API. Gets the returned SetSellingManagerItemAutomationRuleResponseType.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.