Class PostalCode
- java.lang.Object
-
- software.amazon.spapi.models.pricing.v2022_05_01.PostalCode
-
public class PostalCode extends java.lang.Object
Postal code value with country code
-
-
Constructor Summary
Constructors Constructor Description PostalCode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostalCode
countryCode(java.lang.String countryCode)
boolean
equals(java.lang.Object o)
java.lang.String
getCountryCode()
Country code valuejava.lang.String
getValue()
Postal code valueint
hashCode()
void
setCountryCode(java.lang.String countryCode)
void
setValue(java.lang.String value)
java.lang.String
toString()
PostalCode
value(java.lang.String value)
-
-
-
Method Detail
-
countryCode
public PostalCode countryCode(java.lang.String countryCode)
-
getCountryCode
public java.lang.String getCountryCode()
Country code value- Returns:
- countryCode
-
setCountryCode
public void setCountryCode(java.lang.String countryCode)
-
value
public PostalCode value(java.lang.String value)
-
getValue
public java.lang.String getValue()
Postal code value- Returns:
- value
-
setValue
public void setValue(java.lang.String value)
-
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
-
-