NAME
eBay::API::XML::Call::SetCart::SetCartRequestType
DESCRIPTION
Enables a third party developer to create a new shopping cart in the eBay Express domain or to modify the contents of an existing shopping cart by adding or removing items or changing item quantity.
SYNOPSIS
INHERITANCE
eBay::API::XML::Call::SetCart::SetCartRequestType inherits from the eBay::API::XML::RequestDataType class
Subroutines:
setAffiliateTrackingDetails()
Container for affiliate tags. If you use affiliate tags, it is possible to get affiliate commissions based on calls made by your application. (See the <a href="https://www.ebaypartnernetwork.com/" target="_blank">eBay Partner Network</a> for information about commissions.) Affiliate tags enable the tracking of user activity. You can use child tags of AffiliateTrackingDetails if you want call output to include a string, in Item.ListingDetails.ViewItemURL, that includes affiliate tracking information. Affiliate details that you provide appear in the CheckoutURL that is returned by SetCart. Child elements of this element that are marked as conditionally required are required only if this container is present.
SeeLink: URL: http://developer.ebay.com/DevZone/XML/docs/WebHelp/index.htm?context=eBay_XML_API&topic=AffiliateTrackingConcepts Title: Affiliate Tracking Concepts
RequiredInput: No
# Argument: 'ns:AffiliateTrackingDetailsType'
getAffiliateTrackingDetails()
# Returns: 'ns:AffiliateTrackingDetailsType'
setCartID()
The ID of an existing cart whose contents you wish to modify. To create a new cart, omit this tag altogether and preserve the CartID that is returned for subsequent calls to SetCart for that cart.
RequiredInput: Conditionally
# Argument: 'xs:long'
getCartID()
# Returns: 'xs:long'
setCartItemArray()
Array of CartItem (details about items and what is to be done with each, such as add, delete, update).
RequiredInput: No
# Argument: 'ns:CartItemArrayType'
getCartItemArray()
# Returns: 'ns:CartItemArrayType'
setCheckoutCompleteRedirect()
When the user has completed eBay Express checkout with the shopping cart, the user is shown a link to your website. This element enables you to define the properties of that link--its URL and its visible name.
RequiredInput: No
# Argument: 'ns:CheckoutCompleteRedirectType'
getCheckoutCompleteRedirect()
# Returns: 'ns:CheckoutCompleteRedirectType'
setShippingAddress()
The country and postal code to which the items in the cart are to be shipped. Required only if you want shipping costs calculated for those items for which calculated shipping applies. Of no value if there are no items in the cart with calculated shipping.
RequiredInput: No
# Argument: 'ns:AddressType'
getShippingAddress()
# Returns: 'ns:AddressType'