NAME
eBay::API::XML::Call::GetItemShipping::GetItemShippingRequestType
DESCRIPTION
Returns shipping cost estimates for an item for every calculated shipping service that the seller has offered with the listing. This is analogous to the Shipping Calculator seen in both the buyer and seller web pages. It is another way for a buyer or seller to 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). <p>Note: <ul> <li>Shipping insurance cost can only be determined once the final item price is known. <li>It is possible for a seller to offer a shipping service which turns out to be a mismatch in some way with the item(s) being shipped. For example, if a buyer purchases more than one of an item, the weight might be too great for First Class mail. In such a case, GetItemShipping will omit that shipping service from the response. </ul>
SYNOPSIS
INHERITANCE
eBay::API::XML::Call::GetItemShipping::GetItemShippingRequestType inherits from the eBay::API::XML::RequestDataType class
Subroutines:
setDestinationCountryCode()
Destination country code. If DestinationCountryCode is US, postal code is required and represents US zip code.
Default: US
RequiredInput: Conditionally
# Argument: 'ns:CountryCodeType'
getDestinationCountryCode()
# Returns: 'ns:CountryCodeType'
setDestinationPostalCode()
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.
RequiredInput: Conditionally
# Argument: 'xs:string'
getDestinationPostalCode()
# Returns: 'xs:string'
setItemID()
The item ID that uniquely identifies the item listing for which to retrieve the data. Required input.
MaxLength: 19 (Note: The eBay database specifies 38. Currently, Item IDs are usually 9 to 12 digits)
RequiredInput: Yes
# Argument: 'ns:ItemIDType'
getItemID()
# Returns: 'ns:ItemIDType'
setQuantitySold()
Number of items sold to a single buyer and to be shipped together.
RequiredInput: No
# Argument: 'xs:int'
getQuantitySold()
# Returns: 'xs:int'