Modifier and Type | Class and Description |
---|---|
static class |
AddressRec.Builder |
Modifier | Constructor and Description |
---|---|
|
AddressRec() |
protected |
AddressRec(AddressRec.Builder b) |
|
AddressRec(String address1,
String address2,
String city,
String state,
String zip)
Create a new address rec
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static AddressRec |
fromJson(javax.json.JsonObject json) |
static List<AddressRec> |
fromJsonArray(javax.json.JsonArray json)
Turn a list of addresses from jet into a list of objects
|
String |
getAddress1()
get line 1
|
String |
getAddress2()
Get line 2
|
String |
getCity()
Get the city
|
String |
getState()
Get the state
|
String |
getZip()
get the zip code
|
int |
hashCode() |
AddressRec.Builder |
toBuilder() |
javax.json.JsonObject |
toJSON()
Turn this into jet json
|
String |
toString() |
public AddressRec()
public AddressRec(String address1, String address2, String city, String state, String zip)
address1
- line 1address2
- line 2city
- citystate
- statezip
- zip codeprotected AddressRec(AddressRec.Builder b)
public static List<AddressRec> fromJsonArray(javax.json.JsonArray json)
json
- jet json arraypublic static AddressRec fromJson(javax.json.JsonObject json)
public AddressRec.Builder toBuilder()
public String getAddress1()
public String getAddress2()
public String getCity()
public String getState()
public String getZip()
Copyright © 2017. All rights reserved.