| Constructor and Description |
|---|
Address()
|
Address(String postcode,
String lineOne,
String cityName,
com.neovisionaries.i18n.CountryCode countryCode)
|
Address(String postcode,
String lineOne,
String lineTwo,
String cityName,
com.neovisionaries.i18n.CountryCode countryCode)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCity()
|
com.neovisionaries.i18n.CountryCode |
getCountry()
|
String |
getLineOne()
|
String |
getLineTwo()
|
String |
getPostcode()
|
Address |
setCity(String cityName)
|
Address |
setCountry(com.neovisionaries.i18n.CountryCode country)
|
Address |
setLineOne(String lineOne)
|
Address |
setLineTwo(String lineTwo)
|
Address |
setPostcode(String postcode)
|
public Address()
Instantiates a new trade address.
public Address(String postcode, String lineOne, String cityName, com.neovisionaries.i18n.CountryCode countryCode)
Instantiates a new trade address.
postcode - the postal codelineOne - the line onecityName - the city namecountryCode - the ISO 3166-2A country codepublic Address(String postcode, String lineOne, String lineTwo, String cityName, com.neovisionaries.i18n.CountryCode countryCode)
Instantiates a new trade address.
postcode - the postcodelineOne - the line onelineTwo - the line twocityName - the city namecountryCode - the ISO 3166-2A country codepublic String getCity()
Gets the city name.
BASIC when part of Trade.agreements.seller.
Zürich
public com.neovisionaries.i18n.CountryCode getCountry()
Gets the country.
Two-letter country codes defined in ISO 3166-1,
BASIC when part of Trade.agreements.seller.
CH
href="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-2A Country Codes</a>public String getLineOne()
Gets the line one. Usually the Street name.
BASIC when part of Trade.agreements.seller.
Elm Street 13
public String getLineTwo()
Gets the line two. Location like Building name or department.
BASIC when part of Trade.agreements.seller.
Department of broken dreams
public String getPostcode()
Gets the postcode.
BASIC when part of Trade.agreements.seller.
DE-123456
public Address setCity(String cityName)
Sets the city name.
BASIC when part of Trade.agreements.seller.
Zürich
cityName - the new city namepublic Address setCountry(com.neovisionaries.i18n.CountryCode country)
Sets the country.
Two-letter country codes defined in ISO 3166-1,
BASIC when part of Trade.agreements.seller.
CH
country - the countryhref="http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-2A Country Codes</a>public Address setLineOne(String lineOne)
Sets the line one. Usually the Street name.
BASIC when part of Trade.agreements.seller.
Elm Street 13
lineOne - the new line onepublic Address setLineTwo(String lineTwo)
Sets the line two.. Location like Building name or department.
BASIC when part of Trade.agreements.seller.
Department of broken dreams
lineTwo - the new line twopublic Address setPostcode(String postcode)
Sets the postcode code.
BASIC when part of Trade.agreements.seller.
DE-123456
postcode - the postcodeCopyright © 2014 Konik.io. All Rights Reserved.