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

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

There is a newer version: 939.0.0
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 GetApiAccessRules 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.

*
Output property: ReturnedApiAccessRules - Contains the description of an API access rule, including the * call name, the application's current daily and hourly usage, * and other values. * * @author Ron Murphy * @version 1.0 */ public class GetApiAccessRulesCall extends com.ebay.sdk.ApiCall { private ApiAccessRuleType[] returnedApiAccessRules=null; /** * Constructor. */ public GetApiAccessRulesCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public GetApiAccessRulesCall(ApiContext apiContext) { super(apiContext); } /** * Reports how many calls your application has made and is allowed to make per hour or day. Also for Half.com. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The void object. */ public void getApiAccessRules() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { GetApiAccessRulesRequestType req; req = new GetApiAccessRulesRequestType(); GetApiAccessRulesResponseType resp = (GetApiAccessRulesResponseType) execute(req); this.returnedApiAccessRules = resp.getApiAccessRule(); } /** * Valid after executing the API. * Gets the returned GetApiAccessRulesResponseType.returnedApiAccessRules. * * @return ApiAccessRuleType[] */ public ApiAccessRuleType[] getReturnedApiAccessRules() { return this.returnedApiAccessRules; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy