Skip to content

Commit

Permalink
chore(docs): update description for postal codes (#299)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] committed Sep 6, 2024
1 parent aff7172 commit 3972792
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 28 deletions.
18 changes: 10 additions & 8 deletions lithic-java-core/src/main/kotlin/com/lithic/api/models/Account.kt
Original file line number Diff line number Diff line change
Expand Up @@ -809,8 +809,8 @@ private constructor(
fun country(): String = country.getRequired("country")

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit
* ZIP or nine-digit ZIP+4.
* 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.
*/
fun postalCode(): String = postalCode.getRequired("postal_code")

Expand All @@ -833,8 +833,8 @@ private constructor(
@JsonProperty("country") @ExcludeMissing fun _country() = country

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit
* ZIP or nine-digit ZIP+4.
* 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.
*/
@JsonProperty("postal_code") @ExcludeMissing fun _postalCode() = postalCode

Expand Down Expand Up @@ -955,14 +955,16 @@ private constructor(
fun country(country: JsonField<String>) = apply { this.country = country }

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a
* five-digit ZIP or nine-digit ZIP+4.
* 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.
*/
fun postalCode(postalCode: String) = postalCode(JsonField.of(postalCode))

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a
* five-digit ZIP or nine-digit ZIP+4.
* 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.
*/
@JsonProperty("postal_code")
@ExcludeMissing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ private constructor(
fun country(): String = country.getRequired("country")

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit ZIP or
* nine-digit ZIP+4.
* 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.
*/
fun postalCode(): String = postalCode.getRequired("postal_code")

Expand All @@ -75,8 +75,8 @@ private constructor(
@JsonProperty("country") @ExcludeMissing fun _country() = country

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit ZIP or
* nine-digit ZIP+4.
* 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.
*/
@JsonProperty("postal_code") @ExcludeMissing fun _postalCode() = postalCode

Expand Down Expand Up @@ -203,14 +203,14 @@ private constructor(
fun country(country: JsonField<String>) = apply { this.country = country }

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit
* ZIP or nine-digit ZIP+4.
* 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.
*/
fun postalCode(postalCode: String) = postalCode(JsonField.of(postalCode))

/**
* Valid postal code. Only USA ZIP codes are currently supported, entered as a five-digit
* ZIP or nine-digit ZIP+4.
* 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.
*/
@JsonProperty("postal_code")
@ExcludeMissing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ private constructor(

/**
* KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not acceptable;
* APO/FPO are acceptable. Only USA addresses are currently supported.
* APO/FPO are acceptable.
*/
fun address(): Address = address.getRequired("address")

Expand Down Expand Up @@ -75,7 +75,7 @@ private constructor(

/**
* KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not acceptable;
* APO/FPO are acceptable. Only USA addresses are currently supported.
* APO/FPO are acceptable.
*/
@JsonProperty("address") @ExcludeMissing fun _address() = address

Expand Down Expand Up @@ -204,13 +204,13 @@ private constructor(

/**
* KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
* acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
* acceptable; APO/FPO are acceptable.
*/
fun address(address: Address) = address(JsonField.of(address))

/**
* KYC Exempt user's current address - PO boxes, UPS drops, and FedEx drops are not
* acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
* acceptable; APO/FPO are acceptable.
*/
@JsonProperty("address")
@ExcludeMissing
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ private constructor(
Optional.ofNullable(phoneNumber.getNullable("phone_number"))

/**
* Postal code (formerly zipcode). For US addresses, either five-digit zipcode or nine-digit
* "ZIP+4".
* Postal code (formerly zipcode). For US addresses, either five-digit postal code or nine-digit
* postal code (ZIP+4) using the format 12345-1234.
*/
fun postalCode(): String = postalCode.getRequired("postal_code")

Expand Down Expand Up @@ -135,8 +135,8 @@ private constructor(
@JsonProperty("phone_number") @ExcludeMissing fun _phoneNumber() = phoneNumber

/**
* Postal code (formerly zipcode). For US addresses, either five-digit zipcode or nine-digit
* "ZIP+4".
* Postal code (formerly zipcode). For US addresses, either five-digit postal code or nine-digit
* postal code (ZIP+4) using the format 12345-1234.
*/
@JsonProperty("postal_code") @ExcludeMissing fun _postalCode() = postalCode

Expand Down Expand Up @@ -352,14 +352,14 @@ private constructor(
fun phoneNumber(phoneNumber: JsonField<String>) = apply { this.phoneNumber = phoneNumber }

/**
* Postal code (formerly zipcode). For US addresses, either five-digit zipcode or nine-digit
* "ZIP+4".
* Postal code (formerly zipcode). For US addresses, either five-digit postal code or
* nine-digit postal code (ZIP+4) using the format 12345-1234.
*/
fun postalCode(postalCode: String) = postalCode(JsonField.of(postalCode))

/**
* Postal code (formerly zipcode). For US addresses, either five-digit zipcode or nine-digit
* "ZIP+4".
* Postal code (formerly zipcode). For US addresses, either five-digit postal code or
* nine-digit postal code (ZIP+4) using the format 12345-1234.
*/
@JsonProperty("postal_code")
@ExcludeMissing
Expand Down

0 comments on commit 3972792

Please sign in to comment.