| java.lang.Object | |
| ↳ | com.google.api.gbase.client.Shipping |
Shipping information, defined using destination country, a region, a price (in the item's currency), and a shipping service.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| country | Destination country, optional. | ||||||||||
| currency | Currency, not always set. | ||||||||||
| price | Price, always set. | ||||||||||
| regions | The regions, optional and repeatable. | ||||||||||
| service | Shipping service, optional. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a shipping object.
| |||||||||||
Creates a shipping object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the destination country, or null.
| |||||||||||
Gets the price currency, or null.
| |||||||||||
Gets the price.
| |||||||||||
Gets the regions.
| |||||||||||
Gets the shipping service, or null.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Destination country, optional.
Currency, not always set.
Price, always set.
The regions, optional and repeatable.
Shipping service, optional.
Creates a shipping object.
| country | Destination country (ISO 3312 2-letter code), can be null. |
|---|---|
| service | Shipping method, can be null. |
| price | Price |
| currency | Price currency, can be null. |
Creates a shipping object.
| country | Destination country (ISO 3312 2-letter code), can be null. |
|---|---|
| regions | A list of shipping regions within the destination country. Can be null. |
| service | Shipping method, can be null. |
| price | Price |
| currency | Price currency, can be null. |
Gets the destination country, or null. This should be a ISO 3312 2-letter code.
Gets the price currency, or null.
Gets the price.
Gets the regions. This method never returns null, but the returned list can be empty.
Gets the shipping service, or null.