final case class ShippingAddress(countryCode: CountryCode, state: String, city: String, streetLine1: String, streetLine2: String, postCode: String) extends Product with Serializable
This object represents a shipping address. See CountryCode for a full listing.
Country codes can be easily found/validated using the following:
Locale .getISOCountries() .map(cc => (cc, new Locale("", cc) .getDisplayCountry())) .toMap
- countryCode
ISO 3166-1 alpha-2 country code
- state
State, if applicable
- city
City
- streetLine1
First line for the address
- streetLine2
Second line for the address
- postCode
Address post code
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ShippingAddress
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ShippingAddress(countryCode: CountryCode, state: String, city: String, streetLine1: String, streetLine2: String, postCode: String)
- countryCode
ISO 3166-1 alpha-2 country code
- state
State, if applicable
- city
City
- streetLine1
First line for the address
- streetLine2
Second line for the address
- postCode
Address post code
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##(): Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val city: String
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- val countryCode: CountryCode
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val postCode: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val state: String
- val streetLine1: String
- val streetLine2: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()