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

com.ebay.sdk.call.SetMessagePreferencesCall Maven / Gradle / Ivy

There is a newer version: 1131.1
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 com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the SetMessagePreferences 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: ASQPreferences - This container can be used to set customized ASQ subjects, or it can be used to reset the ASQ subjects to the eBay defaults. Up to nine customized ASQ subjects can be set. * * @author Ron Murphy * @version 1.0 */ public class SetMessagePreferencesCall extends com.ebay.sdk.ApiCall { private ASQPreferencesType aSQPreferences = null; private SetMessagePreferencesResponseType response; /** * Constructor. */ public SetMessagePreferencesCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public SetMessagePreferencesCall(ApiContext apiContext) { super(apiContext); } /** * Enables a seller to add custom Ask Seller a Question (ASQ) subjects to their * Ask a Question page, or to reset any custom subjects to their default values. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The void object. */ public void setMessagePreferences() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { SetMessagePreferencesRequestType req; req = new SetMessagePreferencesRequestType(); if (this.aSQPreferences != null) req.setASQPreferences(this.aSQPreferences); SetMessagePreferencesResponseType resp = (SetMessagePreferencesResponseType) execute(req); response = resp; } /** * Gets the SetMessagePreferencesRequestType.aSQPreferences. * @return ASQPreferencesType */ public ASQPreferencesType getASQPreferences() { return this.aSQPreferences; } /** * Sets the SetMessagePreferencesRequestType.aSQPreferences. * @param aSQPreferences ASQPreferencesType */ public void setASQPreferences(ASQPreferencesType aSQPreferences) { this.aSQPreferences = aSQPreferences; } /** * Gets the SetMessagePreferencesResponseType.response. * @return SetMessagePreferencesResponseType */ public SetMessagePreferencesResponseType getResponse() { return response; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy