com.ebay.sdk.call.AddMemberMessageRTQCall Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ebaysdkcore Show documentation
Show all versions of ebaysdkcore Show documentation
This SDK enables you to use Java to make API calls in the eBay Trading API, which is an XML API.
This maven build is provided by tonicsoft for convenience and is an exact copy of version 981 of
the project distributed by eBay via the official eBay SDK website.
The 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 root directory at /LICENSE.txt.
*/
package com.ebay.sdk.call;
import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
* Wrapper class of the AddMemberMessageRTQ 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 about which the question was asked. This field is not required if the request includes a RecipientID value in the MemberMessage container, and the bidder/potential buyer and seller do not have more than one listing in common between one another.
*
Input property: MemberMessage
- This container is used by the seller to answer the question from the bidder/potential buyer. This container includes the recipient ID of the bidder/potential buyer, the message subject, the message body (where the question is answered), and other values related to the message.
*
* @author Ron Murphy
* @version 1.0
*/
public class AddMemberMessageRTQCall extends com.ebay.sdk.ApiCall
{
private String itemID = null;
private MemberMessageType memberMessage = null;
/**
* Constructor.
*/
public AddMemberMessageRTQCall() {
}
/**
* Constructor.
* @param apiContext The ApiContext object to be used to make the call.
*/
public AddMemberMessageRTQCall(ApiContext apiContext) {
super(apiContext);
}
/**
* The base request of the AddMemberMessageRTQ call that enables a seller to reply to a question about an active item listing.
*
*
* @throws ApiException
* @throws SdkException
* @throws Exception
* @return The void object.
*/
public void addMemberMessageRTQ()
throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception
{
AddMemberMessageRTQRequestType req;
req = new AddMemberMessageRTQRequestType();
if (this.itemID != null)
req.setItemID(this.itemID);
if (this.memberMessage != null)
req.setMemberMessage(this.memberMessage);
AddMemberMessageRTQResponseType resp = (AddMemberMessageRTQResponseType) execute(req);
}
/**
* Gets the AddMemberMessageRTQRequestType.itemID.
* @return String
*/
public String getItemID()
{
return this.itemID;
}
/**
* Sets the AddMemberMessageRTQRequestType.itemID.
* @param itemID String
*/
public void setItemID(String itemID)
{
this.itemID = itemID;
}
/**
* Gets the AddMemberMessageRTQRequestType.memberMessage.
* @return MemberMessageType
*/
public MemberMessageType getMemberMessage()
{
return this.memberMessage;
}
/**
* Sets the AddMemberMessageRTQRequestType.memberMessage.
* @param memberMessage MemberMessageType
*/
public void setMemberMessage(MemberMessageType memberMessage)
{
this.memberMessage = memberMessage;
}
}