|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ebay.sdk.ApiCall
com.ebay.sdk.call.GetItemShippingCall
public class GetItemShippingCall
Wrapper class of the GetItemShipping 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.
ItemID
- The unique identifier of the eBay listing for which to retrieve estimated shipping costs for all offered shipping service options. The ItemID value passed into this field should be for an listing that offers at least one calculated shipping service option, and for an item that has yet to be shipped.
QuantitySold
- This field is used to specify the quantity of the item. The QuantitySold value defaults to 1
if not specified. If a value greater than 1
is specified in this field, the shipping service costs returned in the response will reflect the expense to ship multiple quantity of an item.
DestinationPostalCode
- The destination postal code (or zip code for US) is supplied in this field. GetItemShipping requires the destination of the shipment. Some countries will require both the DestinationPostalCode and the lt;b>DestinationCountryCode, and some countries will accept either one or the other.
DestinationCountryCode
- The destination country code is supplied in this field. GetItemShipping requires the destination of the shipment. Some countries will require both the DestinationPostalCode and the lt;b>DestinationCountryCode, and some countries will accept either one or the other.
ReturnedShippingDetails
- This container will be returned if at least one domestic or international shipping service option is available for the item. A ShippingServiceOptions (for domestic shipping) and/or an InternationalShippingServiceOptions container (for international shipping) is returned for each available calculated shipping service option. These shipping service option containers consists of estimated shipping cost and estimated shipping times.
ReturnedPickUpInStoreDetails
- This container is only returned in GetItemShipping if the In-Store Pickup feature is enabled for the listing. In-Store Pickup as a fulfillment method is only available to a limited number of large retail merchants in the US, Canada, UK, Germany, and Australia marketplaces. The In-Store Pickup feature can only be applied to multiple-quantity, fixed-price listings, and the merchant must have quantity of the item available in a store that is near the prospective buyer, in order for In-Store Pickup to be an available fulfillment option for that buyer.
Field Summary |
---|
Fields inherited from class com.ebay.sdk.ApiCall |
---|
apiException, sendReqListeners |
Constructor Summary | |
---|---|
GetItemShippingCall()
Constructor. |
|
GetItemShippingCall(ApiContext apiContext)
Constructor. |
Method Summary | |
---|---|
CountryCodeType |
getDestinationCountryCode()
Gets the GetItemShippingRequestType.destinationCountryCode. |
java.lang.String |
getDestinationPostalCode()
Gets the GetItemShippingRequestType.destinationPostalCode. |
java.lang.String |
getItemID()
Gets the GetItemShippingRequestType.itemID. |
ShippingDetailsType |
getItemShipping()
This is the base request type of the GetItemShipping call. |
java.lang.Integer |
getQuantitySold()
Gets the GetItemShippingRequestType.quantitySold. |
PickupInStoreDetailsType |
getReturnedPickUpInStoreDetails()
Valid after executing the API. |
ShippingDetailsType |
getReturnedShippingDetails()
Valid after executing the API. |
void |
setDestinationCountryCode(CountryCodeType destinationCountryCode)
Sets the GetItemShippingRequestType.destinationCountryCode. |
void |
setDestinationPostalCode(java.lang.String destinationPostalCode)
Sets the GetItemShippingRequestType.destinationPostalCode. |
void |
setItemID(java.lang.String itemID)
Sets the GetItemShippingRequestType.itemID. |
void |
setQuantitySold(java.lang.Integer quantitySold)
Sets the GetItemShippingRequestType.quantitySold. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetItemShippingCall()
public GetItemShippingCall(ApiContext apiContext)
apiContext
- The ApiContext object to be used to make the call.Method Detail |
---|
public ShippingDetailsType getItemShipping() throws ApiException, SdkException, java.lang.Exception
ApiException
SdkException
java.lang.Exception
public CountryCodeType getDestinationCountryCode()
public void setDestinationCountryCode(CountryCodeType destinationCountryCode)
destinationCountryCode
- CountryCodeTypepublic java.lang.String getDestinationPostalCode()
public void setDestinationPostalCode(java.lang.String destinationPostalCode)
destinationPostalCode
- Stringpublic java.lang.String getItemID()
public void setItemID(java.lang.String itemID)
itemID
- Stringpublic java.lang.Integer getQuantitySold()
public void setQuantitySold(java.lang.Integer quantitySold)
quantitySold
- Integerpublic PickupInStoreDetailsType getReturnedPickUpInStoreDetails()
public ShippingDetailsType getReturnedShippingDetails()
|
Changes since the last release |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The information contained in this document is proprietary and confidential.
Use of this information and the eBay API requires a Non-Disclosure Agreement (NDA) between the user and eBay Inc.
For information regarding a qualifying NDA, contact Developer Relations:
developer-relations@ebay.com
© 2004-2009 eBay Inc. All rights reserved.