Class AddressUpdate.Builder
-
- All Implemented Interfaces:
public final class AddressUpdate.BuilderA builder for AddressUpdate.
-
-
Method Summary
-
-
Method Detail
-
address1
final AddressUpdate.Builder address1(String address1)
Valid deliverable address (no PO boxes).
-
address1
final AddressUpdate.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.
-
address2
final AddressUpdate.Builder address2(String address2)
Unit or apartment number (if applicable).
-
address2
final AddressUpdate.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.
-
city
final AddressUpdate.Builder city(String city)
Name of city.
-
city
final AddressUpdate.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.
-
country
final AddressUpdate.Builder country(String country)
Valid country code. Only USA is currently supported, entered in uppercase ISO 3166-1 alpha-3 three-character format.
-
country
final AddressUpdate.Builder country(JsonField<String> country)
Sets Builder.country to an arbitrary JSON value.
You should usually call Builder.country 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 AddressUpdate.Builder postalCode(String postalCode)
Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit ZIP or nine-digit ZIP+4.
-
postalCode
final AddressUpdate.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 AddressUpdate.Builder state(String state)
Valid state code. Only USA state codes are currently supported, entered in uppercase ISO 3166-2 two-character format.
-
state
final AddressUpdate.Builder state(JsonField<String> state)
Sets Builder.state to an arbitrary JSON value.
You should usually call Builder.state with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final AddressUpdate.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final AddressUpdate.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final AddressUpdate.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final AddressUpdate.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final AddressUpdate.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final AddressUpdate build()
Returns an immutable instance of AddressUpdate.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-