Shopping_GetShippingCostsRequestType Class Reference
| Inherits from | Shopping_AbstractRequestType : NSObject |
| Declared in | Shopping_GetShippingCostsRequestType.h Shopping_GetShippingCostsRequestType.m |
Overview
Gets shipping costs for an item. This is one of the ways a buyer or seller
can obtain shipping cost information for an existing item (for which the caller is
either the buyer or seller) at any point in the life of of the listing, before or
after a buyer has committed to purchasing the item(s). This call works for
both flat rate shipping and calculated shipping. Flat rate shipping costs are
established by the seller before bidding occurs. Calculated shipping costs
are calculated by eBay with its shipping partners based on postal code, but note
that insurance cost can only be determined once the final item price is known
when the listing ends. To determine whether a listing has ended, use GetSingleItem.
It is best to call GetShippingCosts only after determining via GetSingleItem
or findItemsAdvanced (<a
href=“http://www.developer.ebay.com/DevZone/finding/CallRef/index.html”
Finding API) that the item actually has shipping cost information.
@ingroup ShoppingInterface
Tasks
-
itemIDThe item ID that uniquely identifies the item listing for which to retrieve the data.
property -
quantitySoldNumber of items sold to a single buyer and to be shipped together.
property -
destinationPostalCodeDestination country postal code (or zipcode, for US). Ignored if no
property
country code is provided. Optional tag for some countries. More likely to
be required for large countries. Ignored for flat rate shipping. -
destinationCountryCodeDestination country code. If DestinationCountryCode is US,
property
postal code is required and represents US zip code. -
includeDetailsIndicates whether to return the ShippingDetails container in the response.
property
Properties
destinationCountryCode
Destination country code. If DestinationCountryCode is US,
postal code is required and represents US zip code.
@property (nonatomic, retain) NSString *destinationCountryCodeDiscussion
Destination country code. If DestinationCountryCode is US,
postal code is required and represents US zip code.
type: string constant in Shopping_CountryCodeType.h
Declared In
Shopping_GetShippingCostsRequestType.hdestinationPostalCode
Destination country postal code (or zipcode, for US). Ignored if no
country code is provided. Optional tag for some countries. More likely to
be required for large countries. Ignored for flat rate shipping.
@property (nonatomic, retain) NSString *destinationPostalCodeDiscussion
Destination country postal code (or zipcode, for US). Ignored if no
country code is provided. Optional tag for some countries. More likely to
be required for large countries. Ignored for flat rate shipping.
type : NSString, wrapper for primitive string
Declared In
Shopping_GetShippingCostsRequestType.hincludeDetails
Indicates whether to return the ShippingDetails container in the response.
@property (nonatomic, retain) NSNumber *includeDetailsDiscussion
Indicates whether to return the ShippingDetails container in the response.
type : NSNumber, wrapper for primitive bool
Declared In
Shopping_GetShippingCostsRequestType.hitemID
The item ID that uniquely identifies the item listing for which to retrieve the data.
@property (nonatomic, retain) NSString *itemIDDiscussion
The item ID that uniquely identifies the item listing for which to retrieve the data.
type : NSString, wrapper for primitive string
Declared In
Shopping_GetShippingCostsRequestType.hquantitySold
Number of items sold to a single buyer and to be shipped together.
@property (nonatomic, retain) NSNumber *quantitySoldDiscussion
Number of items sold to a single buyer and to be shipped together.
type : NSNumber, wrapper for primitive int
Declared In
Shopping_GetShippingCostsRequestType.h