Skip to content

Commit

Permalink
feat(api): api update (#615)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Nov 13, 2024
1 parent 45cbb18 commit c612d0c
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 199
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-423dab63d43cc4e237026e0a7a8ac247653ed0cae54b51511b92d522dd9e58f6.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-20b5808422396f14819d54eb4e784f9cb93645d7bddbc3129e8fcf0b39e377b7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down Expand Up @@ -4045,7 +4046,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down Expand Up @@ -18890,7 +18892,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1547,7 +1547,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1442,7 +1442,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,8 @@ private constructor(
merchantCategoryCode.getRequired("merchant_category_code")

/** The city the merchant resides in. */
fun merchantCity(): String = merchantCity.getRequired("merchant_city")
fun merchantCity(): Optional<String> =
Optional.ofNullable(merchantCity.getNullable("merchant_city"))

/** The country the merchant resides in. */
fun merchantCountry(): String = merchantCountry.getRequired("merchant_country")
Expand Down

0 comments on commit c612d0c

Please sign in to comment.