Class Address.Builder
-
- All Implemented Interfaces:
public final class Address.BuilderA builder for Address.
-
-
Method Summary
-
-
Method Detail
-
address1
final Address.Builder address1(String address1)
Primary address line
-
address1
final Address.Builder address1(JsonField<String> address1)
Sets Builder.address1 to an arbitrary JSON value.
You should usually call Builder.address1 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
city
final Address.Builder city(String city)
City name
-
city
final Address.Builder city(JsonField<String> city)
Sets Builder.city to an arbitrary JSON value.
You should usually call Builder.city with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
postalCode
final Address.Builder postalCode(String postalCode)
Postal code
-
postalCode
final Address.Builder postalCode(JsonField<String> postalCode)
Sets Builder.postalCode to an arbitrary JSON value.
You should usually call Builder.postalCode with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
state
final Address.Builder state(Address.State state)
Two-digit state code
-
state
final Address.Builder state(JsonField<Address.State> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed State value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
address2
final Address.Builder address2(String address2)
Secondary address line (optional)
-
address2
final Address.Builder address2(JsonField<String> address2)
Sets Builder.address2 to an arbitrary JSON value.
You should usually call Builder.address2 with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
country
final Address.Builder country(Address.Country country)
Country
-
country
final Address.Builder country(JsonField<Address.Country> country)
Sets Builder.country to an arbitrary JSON value.
You should usually call Builder.country with a well-typed Country value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final Address.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Address.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Address.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Address.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Address.Builder removeAllAdditionalProperties(Set<String> keys)
-
-
-
-