Class Account.VerificationAddress.Builder
-
- All Implemented Interfaces:
public final class Account.VerificationAddress.BuilderA builder for VerificationAddress.
-
-
Method Summary
-
-
Method Detail
-
address1
final Account.VerificationAddress.Builder address1(String address1)
Valid deliverable address (no PO boxes).
-
address1
final Account.VerificationAddress.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 Account.VerificationAddress.Builder city(String city)
City name.
-
city
final Account.VerificationAddress.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 Account.VerificationAddress.Builder country(String country)
Country name. Only USA is currently supported.
-
country
final Account.VerificationAddress.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 Account.VerificationAddress.Builder postalCode(String postalCode)
Valid postal code. Only USA postal codes (ZIP codes) are currently supported, entered as a five-digit postal code or nine-digit postal code (ZIP+4) using the format 12345-1234.
-
postalCode
final Account.VerificationAddress.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 Account.VerificationAddress.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 Account.VerificationAddress.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.
-
address2
final Account.VerificationAddress.Builder address2(String address2)
Unit or apartment number (if applicable).
-
address2
final Account.VerificationAddress.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.
-
additionalProperties
final Account.VerificationAddress.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final Account.VerificationAddress.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final Account.VerificationAddress.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final Account.VerificationAddress.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final Account.VerificationAddress.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final Account.VerificationAddress build()
Returns an immutable instance of VerificationAddress.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.address1() .city() .country() .postalCode() .state()
-
-
-
-