|
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 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 returned in GetItemShipping if In-Store Pickup or Click and Collect is enabled for the listing.
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. |
String |
getDestinationPostalCode()
Gets the GetItemShippingRequestType.destinationPostalCode. |
String |
getItemID()
Gets the GetItemShippingRequestType.itemID. |
ShippingDetailsType |
getItemShipping()
This is the base request type of the GetItemShipping call. |
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(String destinationPostalCode)
Sets the GetItemShippingRequestType.destinationPostalCode. |
void |
setItemID(String itemID)
Sets the GetItemShippingRequestType.itemID. |
void |
setQuantitySold(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, Exception
ApiException
SdkException
Exception
public CountryCodeType getDestinationCountryCode()
public void setDestinationCountryCode(CountryCodeType destinationCountryCode)
destinationCountryCode
- CountryCodeTypepublic String getDestinationPostalCode()
public void setDestinationPostalCode(String destinationPostalCode)
destinationPostalCode
- Stringpublic String getItemID()
public void setItemID(String itemID)
itemID
- Stringpublic Integer getQuantitySold()
public void setQuantitySold(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.