|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.api.gbase.client.Shipping
public class Shipping
Shipping information, defined using destination country, a price (in the item's currency), and optionally a shipping service and comments (notes).
Constructor Summary | |
---|---|
Shipping(java.lang.String country,
java.lang.String service,
float price,
java.lang.String currency)
Creates a shipping object. |
Method Summary | |
---|---|
java.lang.String |
getCountry()
Gets the destination country, or null. |
java.lang.String |
getCurrency()
Gets the price currency, or null. |
float |
getPrice()
Gets the price. |
java.lang.String |
getService()
Gets the shipping service, or null. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Shipping(java.lang.String country, java.lang.String service, float price, java.lang.String currency)
country
- destination country (ISO 3312 2-letter code)service
- shipping methodprice
- pricecurrency
- price currencyMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public float getPrice()
public java.lang.String getCurrency()
public java.lang.String getCountry()
public java.lang.String getService()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |