Class Location
- java.lang.Object
-
- software.amazon.spapi.models.vendor.shipments.v1.Location
-
public class Location extends java.lang.Object
Location identifier.
-
-
Constructor Summary
Constructors Constructor Description Location()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Location
countryCode(java.lang.String countryCode)
boolean
equals(java.lang.Object o)
java.lang.String
getCountryCode()
The two digit country code.java.lang.String
getLocationCode()
Location code.java.lang.String
getType()
Type of location identification.int
hashCode()
Location
locationCode(java.lang.String locationCode)
void
setCountryCode(java.lang.String countryCode)
void
setLocationCode(java.lang.String locationCode)
void
setType(java.lang.String type)
java.lang.String
toString()
Location
type(java.lang.String type)
-
-
-
Method Detail
-
type
public Location type(java.lang.String type)
-
getType
public java.lang.String getType()
Type of location identification.- Returns:
- type
-
setType
public void setType(java.lang.String type)
-
locationCode
public Location locationCode(java.lang.String locationCode)
-
getLocationCode
public java.lang.String getLocationCode()
Location code.- Returns:
- locationCode
-
setLocationCode
public void setLocationCode(java.lang.String locationCode)
-
countryCode
public Location countryCode(java.lang.String countryCode)
-
getCountryCode
public java.lang.String getCountryCode()
The two digit country code. In ISO 3166-1 alpha-2 format.- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(java.lang.String countryCode)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-