Changes since
the last release

com.ebay.sdk.helper
Class ShippingServiceSelector

java.lang.Object
  extended by com.ebay.sdk.helper.ShippingServiceSelector

public class ShippingServiceSelector
extends java.lang.Object

A helper class for domestic ShippingServiceOption selection.


Constructor Summary
ShippingServiceSelector(ShippingTypeCodeType shippingType, ShippingServiceOptionsType shippingServiceOption, ControlTagItem[] ctrlShippingServices)
          Constructor
 
Method Summary
 ControlTagItem[] getCtrlShippingServices()
          Return a list of ShippingServiceOptions available in the ShippingServiceSelector.
 ShippingServiceOptionsType getSelectedShippingServiceOption()
          Return the selected ShippingService in the ShipppingServiceSelector.
 ShippingServiceOptionsType getShippingServiceOption()
          Return the ShippingServiceOption in the ShippingServiceSelector.
 ShippingTypeCodeType getShippingType()
          Return the ShippingType of the ShippingServiceSelector.
 void setCtrlShippingServices(ControlTagItem[] ctrlShippingServices)
          Set the ControlTagItems of available ShippingServiceOptions.
 void setSelectedShippingServiceOption(ShippingServiceOptionsType option)
          Set the selected ShippingServiceOption
 void setShippingServiceOption(ShippingServiceOptionsType shippingServiceOption)
          Set the ShippingServiceOption
 void setShippingType(ShippingTypeCodeType shippingType)
          Set the ShippingType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShippingServiceSelector

public ShippingServiceSelector(ShippingTypeCodeType shippingType,
                               ShippingServiceOptionsType shippingServiceOption,
                               ControlTagItem[] ctrlShippingServices)
Constructor

Parameters:
shippingType - ShippingTypeCodeType
shippingServiceOption - ShippingServiceOptionsType
ctrlShippingServices - ControlTagItem[]
Method Detail

getCtrlShippingServices

public ControlTagItem[] getCtrlShippingServices()
Return a list of ShippingServiceOptions available in the ShippingServiceSelector.

Returns:
ControlTagItem[]

getShippingServiceOption

public ShippingServiceOptionsType getShippingServiceOption()
Return the ShippingServiceOption in the ShippingServiceSelector.

Returns:
ShippingServiceOptionsType

getSelectedShippingServiceOption

public ShippingServiceOptionsType getSelectedShippingServiceOption()
Return the selected ShippingService in the ShipppingServiceSelector.

Returns:
ShippingServiceOptionsType

getShippingType

public ShippingTypeCodeType getShippingType()
Return the ShippingType of the ShippingServiceSelector.

Returns:
ShippingTypeCodeType

setCtrlShippingServices

public void setCtrlShippingServices(ControlTagItem[] ctrlShippingServices)
Set the ControlTagItems of available ShippingServiceOptions.

Parameters:
ctrlShippingServices - ControlTagItem[]

setSelectedShippingServiceOption

public void setSelectedShippingServiceOption(ShippingServiceOptionsType option)
Set the selected ShippingServiceOption

Parameters:
option - ShippingServiceOptionsType

setShippingServiceOption

public void setShippingServiceOption(ShippingServiceOptionsType shippingServiceOption)
Set the ShippingServiceOption

Parameters:
shippingServiceOption - ShippingServiceOptionsType

setShippingType

public void setShippingType(ShippingTypeCodeType shippingType)
Set the ShippingType

Parameters:
shippingType - ShippingTypeCodeType

Changes since
the last release

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.