com.ebay.sdk.call.GetMyeBayRemindersCall Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebaysdkcore939 Show documentation
Show all versions of ebaysdkcore939 Show documentation
Repack of the eBay SDK version 939 for repository use
/*
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 com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
* Wrapper class of the GetMyeBayReminders 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: BuyingReminders
- Specifies the type of buying reminders for which you want information.
*
Input property: SellingReminders
- Specifies the type of selling reminders for which you want information.
*
Output property: ReturnedBuyingReminders
- Contains the buying reminders in the user's My eBay account that match
* the request criteria.
*
Output property: ReturnedSellingReminders
- Contains the selling reminders in the user's My eBay account that match
* the request criteria.
*
* @author Ron Murphy
* @version 1.0
*/
public class GetMyeBayRemindersCall extends com.ebay.sdk.ApiCall
{
private ReminderCustomizationType buyingReminders = null;
private ReminderCustomizationType sellingReminders = null;
private RemindersType returnedBuyingReminders=null;
private RemindersType returnedSellingReminders=null;
/**
* Constructor.
*/
public GetMyeBayRemindersCall() {
}
/**
* Constructor.
* @param apiContext The ApiContext object to be used to make the call.
*/
public GetMyeBayRemindersCall(ApiContext apiContext) {
super(apiContext);
}
/**
* Requests totals for the Buying and Selling reminders from the user's
* My eBay account.
*
*
* @throws ApiException
* @throws SdkException
* @throws Exception
* @return The void object.
*/
public void getMyeBayReminders()
throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception
{
GetMyeBayRemindersRequestType req;
req = new GetMyeBayRemindersRequestType();
if (this.buyingReminders != null)
req.setBuyingReminders(this.buyingReminders);
if (this.sellingReminders != null)
req.setSellingReminders(this.sellingReminders);
GetMyeBayRemindersResponseType resp = (GetMyeBayRemindersResponseType) execute(req);
this.returnedBuyingReminders = resp.getBuyingReminders();
this.returnedSellingReminders = resp.getSellingReminders();
}
/**
* Gets the GetMyeBayRemindersRequestType.buyingReminders.
* @return ReminderCustomizationType
*/
public ReminderCustomizationType getBuyingReminders()
{
return this.buyingReminders;
}
/**
* Sets the GetMyeBayRemindersRequestType.buyingReminders.
* @param buyingReminders ReminderCustomizationType
*/
public void setBuyingReminders(ReminderCustomizationType buyingReminders)
{
this.buyingReminders = buyingReminders;
}
/**
* Gets the GetMyeBayRemindersRequestType.sellingReminders.
* @return ReminderCustomizationType
*/
public ReminderCustomizationType getSellingReminders()
{
return this.sellingReminders;
}
/**
* Sets the GetMyeBayRemindersRequestType.sellingReminders.
* @param sellingReminders ReminderCustomizationType
*/
public void setSellingReminders(ReminderCustomizationType sellingReminders)
{
this.sellingReminders = sellingReminders;
}
/**
* Valid after executing the API.
* Gets the returned GetMyeBayRemindersResponseType.returnedBuyingReminders.
*
* @return RemindersType
*/
public RemindersType getReturnedBuyingReminders()
{
return this.returnedBuyingReminders;
}
/**
* Valid after executing the API.
* Gets the returned GetMyeBayRemindersResponseType.returnedSellingReminders.
*
* @return RemindersType
*/
public RemindersType getReturnedSellingReminders()
{
return this.returnedSellingReminders;
}
}