|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.syndication.feed.module.base.types.ShippingType
public class ShippingType
This class represents a specific shipping option for an item.
Nested Class Summary | |
---|---|
static class |
ShippingType.ServiceEnumeration
Enumeration class of valid options for ServiceType. |
Constructor Summary | |
---|---|
ShippingType(FloatUnit price,
ShippingType.ServiceEnumeration service,
java.lang.String country)
Creates a new instance of ShippingType |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clones this object. |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getCountry()
Returns the destination country. |
FloatUnit |
getPrice()
Returns the price of this shipping option. |
ShippingType.ServiceEnumeration |
getService()
Returns the ServiceEnumeration instance for the shipping service used. |
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ShippingType(FloatUnit price, ShippingType.ServiceEnumeration service, java.lang.String country)
price
- The price of the shipping optionservice
- Shipping service used.country
- Country shipped to.Method Detail |
---|
public java.lang.String getCountry()
public FloatUnit getPrice()
public ShippingType.ServiceEnumeration getService()
public java.lang.Object clone()
clone
in interface CloneableType
clone
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |