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

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

/*
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 java.util.Calendar;

import com.ebay.sdk.*;
import com.ebay.soap.eBLBaseComponents.*;
/**
 * Wrapper class of the GeteBayDetails 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: DetailName - One or more DetailName fields may be used to control the the type of metadata that is returned in the response. If no DetailName fields are used, all metadata will be returned in the response. It is a good idea to familiarize yourself with the metadata that can be returned with GeteBayDetails by reading through the enumeration values in DetailNameCodeType. *
Output property: ReturnedCountryDetails - Lists the country code and associated name of the countries supported by * the eBay system, regardless of the site specified in the request. *

* Note: * This container is only returned if CountryDetails is included as a DetailName filter in the request, or if no DetailName filters are used in the request. * *
Output property: ReturnedCurrencyDetails - Lists the currencies supported by the eBay system, regardless of the site * specified in the request. *

* Note: * This container is only returned if CurrencyDetails is included as a * DetailName filter in the request, or if no DetailName filters are * used in the request. * *
Output property: ReturnedDispatchTimeMaxDetails - A dispatch time specifies the maximum number of business days a seller commits to for shipping an item to domestic buyers after receiving a cleared payment. Returns all dispatch times in the system, regardless of the site specified in the request. *

* Note: * This container is only returned if DispatchTimeMaxDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedPaymentOptionDetails - Although the supported payment methods for the specified eBay site are returned, it is recommended that the seller use GetCategoryFeatures instead, and pass in PaymentMethods as a FeatureID value in the request. *
Output property: ReturnedRegionDetails - Lists the cities and other domestic regions for the specified site's country. *

* Note: * This container is only returned if RegionDetails is included as a * DetailName filter in the request, or if no DetailName filters are * used in the request. * *
Output property: ReturnedShippingLocationDetails - Lists the worldwide regions that can be set as shipping locations from the specified eBay site. *

* Note: * This container is only returned if ShippingLocationDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedShippingServiceDetails - Lists the shipping services supported by the specified eBay site. Returns only the shipping services that are applicable to the site specified in the request. *

* Note: * This container is only returned if ShippingServiceDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedSiteDetails - Lists all available eBay sites and their associated SiteID numbers. *

* Note: * This container is only returned if SiteDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedTaxJurisdiction - Details the different tax jurisdictions or tax regions applicable to the * site specified in the request. Note that tax jurisdictions are only applicable to the following eBay sites: eBay US (Site ID 0), eBay US Motors (Site ID 100), eBay Canada (Site ID 2), eBay Canada (French) (Site ID 210), and eBay India (Site ID 203). An empty response will be returned for any other Site ID that is passed in the HTTP header. *

* Note: * This container is only returned if TaxJurisdiction is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedURLDetails - Lists eBay URLs that are applicable to the site specified in the request. *

* Note: * This container is only returned if URLDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedTimeZoneDetails - Lists the details of the time zones supported by the eBay system. *

* Note: * This container is only returned if TimeZoneDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedItemSpecificDetails - Lists the site's maximum thresholds for specifying Item Specifics. *

* Note: * This container is only returned if ItemSpecificDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedUnitOfMeasurementDetails - Units of measurement are no longer returned in GeteBayDetails, so this container is no longer applicable. *
Output property: ReturnedRegionOfOriginDetails - Lists the worldwide regions and individual countries that can be set as shipping locations from the specified eBay site. *

* Note: * This container is only returned if RegionOfOriginDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedShippingPackageDetails - Lists the various shipping packages supported by the specified site. *

* Note: * This container is only returned if ShippingPackageDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedShippingCarrierDetails - Lists the shipping carriers supported by the specified site. *

* Note: * This container is only returned if ShippingCarrierDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedReturnPolicyDetails - Lists the supported values that may be used for return policies on the specified eBay site, such as the return period, supported restocking fees, and refund options. *

* Note: * This container is only returned if ReturnPolicyDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedInternationalReturnPolicyDetails - Lists the international return policies supported by the eBay marketplace specified in the request, such as the return periods supported by the marketplace. *
Output property: ReturnedListingStartPriceDetails - Lists the minimum starting prices for the supported types of eBay listings. *

* Note: * This container is only returned if ListingStartPriceDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedBuyerRequirementDetails - Lists the threshold values that can be passed in through the BuyerRequirementDetails container in the Add/Revise/Relist API calls. Buyer Requirements allow the seller to block buyers who have unpaid item defects, policy violations, low Feedback scores, and/or other undesirable qualities/statistics. Buyer Requirements are set at the seller's account level, but by using a BuyerRequirementDetails container in an Add/Revise/Relist API call, the values in that container will override values set at the account level. *

* Note: * This container is only returned if BuyerRequirementDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedListingFeatureDetails - Details the listing features available for the eBay site specified in the request. *

* Note: * This container is only returned if ListingFeatureDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedVariationDetails - Site-level validation rules for multi-variation listings (for example, the * maximum number of variations per listing). Use GetCategoryFeatures to * determine which categories on a site support variations. Use * GetCategorySpecifics for rules related to recommended or required variation * specifics. *

* Note: * This container is only returned if VariationDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedExcludeShippingLocationDetails - Lists the locations supported by the ExcludeShipToLocation feature. These are * locations that a seller can list as areas where they will not ship an item. *
Output property: ReturnedUpdateTime - The time of the most recent modification to any feature detail. If specific * feature details are passed in the request, gives the most recent modification time * of those feature details. *
Output property: ReturnedRecoupmentPolicyDetails - Details the recoupment policies for the site specified in the request. *

* Note: * This container is only returned if RecoupmentPolicyDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * *
Output property: ReturnedShippingCategoryDetails - A shipping service category supported for the site. *

* Note: * This container is only returned if ShippingCategoryDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * * Each shipping service supported for a site is automatically categorized by eBay into one of the * shipping categories available for that site depending on how the shipping service shipping time * aligns with the shipping times specified by eBay for each category. *

* Notice that you cannot specify a ShippingCategory * as an input to any API call - eBay does this categorizing automatically. ShippingCategory is read-only data * that is returned in the ShippingServiceDetails container. One possible use of this data is to segregate shipping * services by ShippingCategory in a pick list. (For an example of this, see the Services pulldown menu in the * Give buyers shipping details form in the eBay Sell Your Item flow.) *

* One way to populate the picklist would be to call GeteBayDetails * with DetailName set to ShippingServiceDetails. * Then sort these results by ShippingCategory and populate the picklist. *
Output property: ReturnedProductDetails - The ProductDetails.ProductIdentifierUnavailableText * field contains the actual text that should be passed into the relevant * product identification fields (EAN, ISBN, UPC, MPN/Brand) if eBay is * prompting/expecting one of these fields in the call request, but the identifiers do not exist/apply for the product. The text will vary based on the listing site. This text should only be used if no product ID exists for the product. If a product identifier value does actually exist for a product, but the seller passes in 'Does not apply' text, that listing may get penalized in search. *

* Note: * This container is only returned if ProductDetails is included as a * DetailName filter in the request, or if no DetailName * filters are used in the request. * * * @author Ron Murphy * @version 1.0 */ public class GeteBayDetailsCall extends com.ebay.sdk.ApiCall { private DetailNameCodeType[] detailName = null; private CountryDetailsType[] returnedCountryDetails=null; private CurrencyDetailsType[] returnedCurrencyDetails=null; private DispatchTimeMaxDetailsType[] returnedDispatchTimeMaxDetails=null; private PaymentOptionDetailsType[] returnedPaymentOptionDetails=null; private RegionDetailsType[] returnedRegionDetails=null; private ShippingLocationDetailsType[] returnedShippingLocationDetails=null; private ShippingServiceDetailsType[] returnedShippingServiceDetails=null; private SiteDetailsType[] returnedSiteDetails=null; private TaxJurisdictionType[] returnedTaxJurisdiction=null; private URLDetailsType[] returnedURLDetails=null; private TimeZoneDetailsType[] returnedTimeZoneDetails=null; private ItemSpecificDetailsType[] returnedItemSpecificDetails=null; private UnitOfMeasurementDetailsType[] returnedUnitOfMeasurementDetails=null; private RegionOfOriginDetailsType[] returnedRegionOfOriginDetails=null; private ShippingPackageDetailsType[] returnedShippingPackageDetails=null; private ShippingCarrierDetailsType[] returnedShippingCarrierDetails=null; private ReturnPolicyDetailsType returnedReturnPolicyDetails=null; private ReturnPolicyDetailsType returnedInternationalReturnPolicyDetails=null; private ListingStartPriceDetailsType[] returnedListingStartPriceDetails=null; private SiteBuyerRequirementDetailsType[] returnedBuyerRequirementDetails=null; private ListingFeatureDetailsType[] returnedListingFeatureDetails=null; private VariationDetailsType returnedVariationDetails=null; private ExcludeShippingLocationDetailsType[] returnedExcludeShippingLocationDetails=null; private Calendar returnedUpdateTime=null; private RecoupmentPolicyDetailsType[] returnedRecoupmentPolicyDetails=null; private ShippingCategoryDetailsType[] returnedShippingCategoryDetails=null; private ProductDetailsType returnedProductDetails=null; /** * Constructor. */ public GeteBayDetailsCall() { } /** * Constructor. * @param apiContext The ApiContext object to be used to make the call. */ public GeteBayDetailsCall(ApiContext apiContext) { super(apiContext); } /** * This is the base request type for the GeteBayDetails call. This call retrieves the latest eBay feature-related metadata values that are supported when listing items. This metadata includes country codes, currency codes, Item Specifics thresholds, supported Return Policy values, available shipping carriers and shipping service options, and more. This call may be used to keep metadata up-to-date in your applications. *

* In some cases, the data returned in the response will vary according to the eBay site that you use for the request. * *
* @throws ApiException * @throws SdkException * @throws Exception * @return The void object. */ public void geteBayDetails() throws com.ebay.sdk.ApiException, com.ebay.sdk.SdkException, java.lang.Exception { GeteBayDetailsRequestType req; req = new GeteBayDetailsRequestType(); req.setDetailLevel(this.getDetailLevel()); if (this.detailName != null) req.setDetailName(this.detailName); GeteBayDetailsResponseType resp = (GeteBayDetailsResponseType) execute(req); this.returnedCountryDetails = resp.getCountryDetails(); this.returnedCurrencyDetails = resp.getCurrencyDetails(); this.returnedDispatchTimeMaxDetails = resp.getDispatchTimeMaxDetails(); this.returnedPaymentOptionDetails = resp.getPaymentOptionDetails(); this.returnedRegionDetails = resp.getRegionDetails(); this.returnedShippingLocationDetails = resp.getShippingLocationDetails(); this.returnedShippingServiceDetails = resp.getShippingServiceDetails(); this.returnedSiteDetails = resp.getSiteDetails(); this.returnedTaxJurisdiction = resp.getTaxJurisdiction(); this.returnedURLDetails = resp.getURLDetails(); this.returnedTimeZoneDetails = resp.getTimeZoneDetails(); this.returnedItemSpecificDetails = resp.getItemSpecificDetails(); this.returnedUnitOfMeasurementDetails = resp.getUnitOfMeasurementDetails(); this.returnedRegionOfOriginDetails = resp.getRegionOfOriginDetails(); this.returnedShippingPackageDetails = resp.getShippingPackageDetails(); this.returnedShippingCarrierDetails = resp.getShippingCarrierDetails(); this.returnedReturnPolicyDetails = resp.getReturnPolicyDetails(); this.returnedInternationalReturnPolicyDetails = resp.getInternationalReturnPolicyDetails(); this.returnedListingStartPriceDetails = resp.getListingStartPriceDetails(); this.returnedBuyerRequirementDetails = resp.getBuyerRequirementDetails(); this.returnedListingFeatureDetails = resp.getListingFeatureDetails(); this.returnedVariationDetails = resp.getVariationDetails(); this.returnedExcludeShippingLocationDetails = resp.getExcludeShippingLocationDetails(); this.returnedUpdateTime = resp.getUpdateTime(); this.returnedRecoupmentPolicyDetails = resp.getRecoupmentPolicyDetails(); this.returnedShippingCategoryDetails = resp.getShippingCategoryDetails(); this.returnedProductDetails = resp.getProductDetails(); } /** * Gets the GeteBayDetailsRequestType.detailName. * @return DetailNameCodeType[] */ public DetailNameCodeType[] getDetailName() { return this.detailName; } /** * Sets the GeteBayDetailsRequestType.detailName. * @param detailName DetailNameCodeType[] */ public void setDetailName(DetailNameCodeType[] detailName) { this.detailName = detailName; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType. * * @return GeteBayDetailsResponseType */ public GeteBayDetailsResponseType getReturnedeBayDetails() { return (GeteBayDetailsResponseType) this.getResponseObject(); } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedBuyerRequirementDetails. * * @return SiteBuyerRequirementDetailsType[] */ public SiteBuyerRequirementDetailsType[] getReturnedBuyerRequirementDetails() { return this.returnedBuyerRequirementDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedCountryDetails. * * @return CountryDetailsType[] */ public CountryDetailsType[] getReturnedCountryDetails() { return this.returnedCountryDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedCurrencyDetails. * * @return CurrencyDetailsType[] */ public CurrencyDetailsType[] getReturnedCurrencyDetails() { return this.returnedCurrencyDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedDispatchTimeMaxDetails. * * @return DispatchTimeMaxDetailsType[] */ public DispatchTimeMaxDetailsType[] getReturnedDispatchTimeMaxDetails() { return this.returnedDispatchTimeMaxDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedExcludeShippingLocationDetails. * * @return ExcludeShippingLocationDetailsType[] */ public ExcludeShippingLocationDetailsType[] getReturnedExcludeShippingLocationDetails() { return this.returnedExcludeShippingLocationDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedInternationalReturnPolicyDetails. * * @return ReturnPolicyDetailsType */ public ReturnPolicyDetailsType getReturnedInternationalReturnPolicyDetails() { return this.returnedInternationalReturnPolicyDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedItemSpecificDetails. * * @return ItemSpecificDetailsType[] */ public ItemSpecificDetailsType[] getReturnedItemSpecificDetails() { return this.returnedItemSpecificDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedListingFeatureDetails. * * @return ListingFeatureDetailsType[] */ public ListingFeatureDetailsType[] getReturnedListingFeatureDetails() { return this.returnedListingFeatureDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedListingStartPriceDetails. * * @return ListingStartPriceDetailsType[] */ public ListingStartPriceDetailsType[] getReturnedListingStartPriceDetails() { return this.returnedListingStartPriceDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedPaymentOptionDetails. * * @return PaymentOptionDetailsType[] */ public PaymentOptionDetailsType[] getReturnedPaymentOptionDetails() { return this.returnedPaymentOptionDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedProductDetails. * * @return ProductDetailsType */ public ProductDetailsType getReturnedProductDetails() { return this.returnedProductDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedRecoupmentPolicyDetails. * * @return RecoupmentPolicyDetailsType[] */ public RecoupmentPolicyDetailsType[] getReturnedRecoupmentPolicyDetails() { return this.returnedRecoupmentPolicyDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedRegionDetails. * * @return RegionDetailsType[] */ public RegionDetailsType[] getReturnedRegionDetails() { return this.returnedRegionDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedRegionOfOriginDetails. * * @return RegionOfOriginDetailsType[] */ public RegionOfOriginDetailsType[] getReturnedRegionOfOriginDetails() { return this.returnedRegionOfOriginDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedReturnPolicyDetails. * * @return ReturnPolicyDetailsType */ public ReturnPolicyDetailsType getReturnedReturnPolicyDetails() { return this.returnedReturnPolicyDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedShippingCarrierDetails. * * @return ShippingCarrierDetailsType[] */ public ShippingCarrierDetailsType[] getReturnedShippingCarrierDetails() { return this.returnedShippingCarrierDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedShippingCategoryDetails. * * @return ShippingCategoryDetailsType[] */ public ShippingCategoryDetailsType[] getReturnedShippingCategoryDetails() { return this.returnedShippingCategoryDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedShippingLocationDetails. * * @return ShippingLocationDetailsType[] */ public ShippingLocationDetailsType[] getReturnedShippingLocationDetails() { return this.returnedShippingLocationDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedShippingPackageDetails. * * @return ShippingPackageDetailsType[] */ public ShippingPackageDetailsType[] getReturnedShippingPackageDetails() { return this.returnedShippingPackageDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedShippingServiceDetails. * * @return ShippingServiceDetailsType[] */ public ShippingServiceDetailsType[] getReturnedShippingServiceDetails() { return this.returnedShippingServiceDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedSiteDetails. * * @return SiteDetailsType[] */ public SiteDetailsType[] getReturnedSiteDetails() { return this.returnedSiteDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedTaxJurisdiction. * * @return TaxJurisdictionType[] */ public TaxJurisdictionType[] getReturnedTaxJurisdiction() { return this.returnedTaxJurisdiction; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedTimeZoneDetails. * * @return TimeZoneDetailsType[] */ public TimeZoneDetailsType[] getReturnedTimeZoneDetails() { return this.returnedTimeZoneDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedURLDetails. * * @return URLDetailsType[] */ public URLDetailsType[] getReturnedURLDetails() { return this.returnedURLDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedUnitOfMeasurementDetails. * * @return UnitOfMeasurementDetailsType[] */ public UnitOfMeasurementDetailsType[] getReturnedUnitOfMeasurementDetails() { return this.returnedUnitOfMeasurementDetails; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedUpdateTime. * * @return Calendar */ public Calendar getReturnedUpdateTime() { return this.returnedUpdateTime; } /** * Valid after executing the API. * Gets the returned GeteBayDetailsResponseType.returnedVariationDetails. * * @return VariationDetailsType */ public VariationDetailsType getReturnedVariationDetails() { return this.returnedVariationDetails; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy