One of {@code active}, {@code inactive}, or {@code pending}. + */ + @SerializedName("paypay_payments") + String paypayPayments; + /** * The status of the PayTo capability of the account, or whether the account can directly * process PayTo charges. @@ -2172,14 +2181,14 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code information_missing}, {@code invalid_address_city_state_postal_code}, - * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, - * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, - * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code - * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code - * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code - * invalid_representative_country}, {@code invalid_signator}, {@code - * invalid_statement_descriptor_business_mismatch}, {@code + *
One of {@code external_request}, {@code information_missing}, {@code + * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box}, + * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code + * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code + * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code + * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, * {@code invalid_statement_descriptor_prefix_denylisted}, {@code * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code @@ -2198,29 +2207,30 @@ public static class Errors extends StripeObject { * invalid_url_website_incomplete_return_policy}, {@code * invalid_url_website_incomplete_terms_and_conditions}, {@code * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, - * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code - * verification_document_address_mismatch}, {@code verification_document_address_missing}, - * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, - * {@code verification_document_directors_mismatch}, {@code - * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code - * verification_document_expired}, {@code verification_document_failed_copy}, {@code - * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code - * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code - * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, - * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code - * verification_document_issue_or_expiry_date_missing}, {@code - * verification_document_manipulated}, {@code verification_document_missing_back}, {@code - * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code - * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, - * {@code verification_document_not_readable}, {@code verification_document_not_signed}, - * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, - * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, - * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, - * {@code verification_failed_authorizer_authority}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_representative_authority}, {@code + * {@code invalid_value_other}, {@code unsupported_business_type}, {@code + * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code + * verification_document_address_missing}, {@code verification_document_corrupt}, {@code + * verification_document_country_not_supported}, {@code + * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, + * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code + * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code + * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code + * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code + * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code + * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, + * {@code verification_document_manipulated}, {@code verification_document_missing_back}, + * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, + * {@code verification_document_name_missing}, {@code + * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, + * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, + * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, + * {@code verification_document_type_not_supported}, {@code + * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code + * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number}, + * {@code verification_failed_document_match}, {@code verification_failed_id_number_match}, + * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_representative_authority}, {@code * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code * verification_failed_tax_id_not_issued}, {@code * verification_legal_entity_structure_mismatch}, {@code verification_missing_directors}, @@ -2374,14 +2384,14 @@ public static class Errors extends StripeObject { /** * The code for the type of error. * - *
One of {@code information_missing}, {@code invalid_address_city_state_postal_code}, - * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox}, - * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted}, - * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code - * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code - * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code - * invalid_representative_country}, {@code invalid_signator}, {@code - * invalid_statement_descriptor_business_mismatch}, {@code + *
One of {@code external_request}, {@code information_missing}, {@code + * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box}, + * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code + * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code + * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code + * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code + * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code + * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code * invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length}, * {@code invalid_statement_descriptor_prefix_denylisted}, {@code * invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code @@ -2400,29 +2410,30 @@ public static class Errors extends StripeObject { * invalid_url_website_incomplete_return_policy}, {@code * invalid_url_website_incomplete_terms_and_conditions}, {@code * invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other}, - * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code - * verification_document_address_mismatch}, {@code verification_document_address_missing}, - * {@code verification_document_corrupt}, {@code verification_document_country_not_supported}, - * {@code verification_document_directors_mismatch}, {@code - * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code - * verification_document_expired}, {@code verification_document_failed_copy}, {@code - * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code - * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code - * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing}, - * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code - * verification_document_issue_or_expiry_date_missing}, {@code - * verification_document_manipulated}, {@code verification_document_missing_back}, {@code - * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code - * verification_document_name_missing}, {@code verification_document_nationality_mismatch}, - * {@code verification_document_not_readable}, {@code verification_document_not_signed}, - * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch}, - * {@code verification_document_too_large}, {@code verification_document_type_not_supported}, - * {@code verification_extraneous_directors}, {@code verification_failed_address_match}, - * {@code verification_failed_authorizer_authority}, {@code - * verification_failed_business_iec_number}, {@code verification_failed_document_match}, - * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity}, - * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code - * verification_failed_other}, {@code verification_failed_representative_authority}, {@code + * {@code invalid_value_other}, {@code unsupported_business_type}, {@code + * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code + * verification_document_address_missing}, {@code verification_document_corrupt}, {@code + * verification_document_country_not_supported}, {@code + * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch}, + * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code + * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code + * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code + * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code + * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code + * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing}, + * {@code verification_document_manipulated}, {@code verification_document_missing_back}, + * {@code verification_document_missing_front}, {@code verification_document_name_mismatch}, + * {@code verification_document_name_missing}, {@code + * verification_document_nationality_mismatch}, {@code verification_document_not_readable}, + * {@code verification_document_not_signed}, {@code verification_document_not_uploaded}, + * {@code verification_document_photo_mismatch}, {@code verification_document_too_large}, + * {@code verification_document_type_not_supported}, {@code + * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code + * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number}, + * {@code verification_failed_document_match}, {@code verification_failed_id_number_match}, + * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code + * verification_failed_name_match}, {@code verification_failed_other}, {@code + * verification_failed_representative_authority}, {@code * verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code * verification_failed_tax_id_not_issued}, {@code * verification_legal_entity_structure_mismatch}, {@code verification_missing_directors}, diff --git a/src/main/java/com/stripe/model/Address.java b/src/main/java/com/stripe/model/Address.java index 042bcd4c261..f65f0d5f101 100644 --- a/src/main/java/com/stripe/model/Address.java +++ b/src/main/java/com/stripe/model/Address.java @@ -21,11 +21,11 @@ public class Address extends StripeObject { @SerializedName("country") String country; - /** Address line 1 (e.g., street, PO Box, or company name). */ + /** Address line 1, such as the street, PO Box, or company name. */ @SerializedName("line1") String line1; - /** Address line 2 (e.g., apartment, suite, unit, or building). */ + /** Address line 2, such as the apartment, suite, unit, or building. */ @SerializedName("line2") String line2; diff --git a/src/main/java/com/stripe/model/BalanceSettings.java b/src/main/java/com/stripe/model/BalanceSettings.java index dc9ea0e1587..70c1f411113 100644 --- a/src/main/java/com/stripe/model/BalanceSettings.java +++ b/src/main/java/com/stripe/model/BalanceSettings.java @@ -20,11 +20,6 @@ /** * Options for customizing account balances and payout settings for a Stripe platform’s connected * accounts. - * - *
This API is only available for users enrolled in the public preview for Accounts v2 on Stripe
- * Connect. If you are not in this preview, please use the Accounts v1 API to
- * manage your connected accounts’ balance settings instead.
*/
@Getter
@Setter
@@ -166,6 +161,15 @@ public static class Payments extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Payouts extends StripeObject {
+ /**
+ * The minimum balance amount to retain per currency after automatic payouts. Only funds that
+ * exceed these amounts are paid out. Learn more about the minimum balances
+ * for automatic payouts.
+ */
+ @SerializedName("minimum_balance_by_currency")
+ Map One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -578,29 +578,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
@@ -680,14 +681,14 @@ public static class Errors extends StripeObject {
/**
* The code for the type of error.
*
- * One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
- * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
- * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
- * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
- * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
- * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
- * invalid_representative_country}, {@code invalid_signator}, {@code
- * invalid_statement_descriptor_business_mismatch}, {@code
+ * One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -706,29 +707,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
diff --git a/src/main/java/com/stripe/model/Capability.java b/src/main/java/com/stripe/model/Capability.java
index f0c8d1b3e45..0b49c7c1f22 100644
--- a/src/main/java/com/stripe/model/Capability.java
+++ b/src/main/java/com/stripe/model/Capability.java
@@ -246,14 +246,14 @@ public static class Errors extends StripeObject {
/**
* The code for the type of error.
*
- * One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
- * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
- * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
- * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
- * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
- * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
- * invalid_representative_country}, {@code invalid_signator}, {@code
- * invalid_statement_descriptor_business_mismatch}, {@code
+ * One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -272,29 +272,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
@@ -431,14 +432,14 @@ public static class Errors extends StripeObject {
/**
* The code for the type of error.
*
- * One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
- * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
- * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
- * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
- * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
- * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
- * invalid_representative_country}, {@code invalid_signator}, {@code
- * invalid_statement_descriptor_business_mismatch}, {@code
+ * One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -457,29 +458,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
diff --git a/src/main/java/com/stripe/model/Card.java b/src/main/java/com/stripe/model/Card.java
index 73d13c620cb..203a1cb3684 100644
--- a/src/main/java/com/stripe/model/Card.java
+++ b/src/main/java/com/stripe/model/Card.java
@@ -90,9 +90,9 @@ public class Card extends ApiResource
List Equal to {@code coupon}.
+ */
+ @SerializedName("type")
+ String type;
+
+ /** Get ID of expandable {@code coupon} object. */
+ public String getCoupon() {
+ return (this.coupon != null) ? this.coupon.getId() : null;
+ }
+
+ public void setCoupon(String id) {
+ this.coupon = ApiResource.setExpandableFieldId(id, this.coupon);
+ }
+
+ /** Get expanded {@code coupon}. */
+ public Coupon getCouponObject() {
+ return (this.coupon != null) ? this.coupon.getExpanded() : null;
+ }
+
+ public void setCouponObject(Coupon expandableObject) {
+ this.coupon = new ExpandableField One of {@code manual}, {@code prefer_manual}, {@code prefer_smart_disputes}, or {@code
+ * smart_disputes}.
+ */
+ @SerializedName("intended_submission_method")
+ String intendedSubmissionMethod;
+
/**
* If true, it's still possible to refund the disputed payment. After the payment has been fully
* refunded, no further funds are withdrawn from your Stripe account as a result of this dispute.
@@ -881,11 +890,11 @@ public static class ShippingAddress extends StripeObject {
@SerializedName("country")
String country;
- /** Address line 1 (e.g., street, PO Box, or company name). */
+ /** Address line 1, such as the street, PO Box, or company name. */
@SerializedName("line1")
String line1;
- /** Address line 2 (e.g., apartment, suite, unit, or building). */
+ /** Address line 2, such as the apartment, suite, unit, or building. */
@SerializedName("line2")
String line2;
@@ -969,11 +978,11 @@ public static class ShippingAddress extends StripeObject {
@SerializedName("country")
String country;
- /** Address line 1 (e.g., street, PO Box, or company name). */
+ /** Address line 1, such as the street, PO Box, or company name. */
@SerializedName("line1")
String line1;
- /** Address line 2 (e.g., apartment, suite, unit, or building). */
+ /** Address line 2, such as the apartment, suite, unit, or building. */
@SerializedName("line2")
String line2;
@@ -1201,6 +1210,10 @@ public static class Card extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Klarna extends StripeObject {
+ /** Chargeback loss reason mapped by Stripe from Klarna's chargeback loss reason. */
+ @SerializedName("chargeback_loss_reason_code")
+ String chargebackLossReasonCode;
+
/** The reason for the dispute as defined by Klarna. */
@SerializedName("reason_code")
String reasonCode;
@@ -1234,7 +1247,7 @@ public static class Paypal extends StripeObject {
public static class SmartDisputes extends StripeObject {
/** Evidence that could be provided to improve the SmartDisputes packet. */
@SerializedName("recommended_evidence")
- List {@code ExchangeRate} objects allow you to determine the rates that Stripe is currently using
+ * to convert from one currency to another. Since this number is variable throughout the day, there
+ * are various reasons why you might want to know the current rate (for example, to dynamically
+ * price an item for a user with a default payment in a foreign currency).
*
* Please refer to our Exchange Rates API guide
* for more details.
@@ -74,17 +78,27 @@ public class ExchangeRate extends ApiResource implements HasId {
Map Returns a list of objects that contain the rates at which foreign currencies are converted
+ * to one another. Only shows the currencies for which Stripe supports.
*/
+ @Deprecated
public static ExchangeRateCollection list(Map Returns a list of objects that contain the rates at which foreign currencies are converted
+ * to one another. Only shows the currencies for which Stripe supports.
*/
+ @Deprecated
public static ExchangeRateCollection list(Map Returns a list of objects that contain the rates at which foreign currencies are converted
+ * to one another. Only shows the currencies for which Stripe supports.
*/
+ @Deprecated
public static ExchangeRateCollection list(ExchangeRateListParams params) throws StripeException {
return list(params, (RequestOptions) null);
}
/**
- * Returns a list of objects that contain the rates at which foreign currencies are converted to
- * one another. Only shows the currencies for which Stripe supports.
+ * [Deprecated] The {@code ExchangeRate} APIs are deprecated. Please use the FX Quotes
+ * API instead.
+ *
+ * Returns a list of objects that contain the rates at which foreign currencies are converted
+ * to one another. Only shows the currencies for which Stripe supports.
*/
+ @Deprecated
public static ExchangeRateCollection list(ExchangeRateListParams params, RequestOptions options)
throws StripeException {
String path = "/v1/exchange_rates";
@@ -119,18 +143,39 @@ public static ExchangeRateCollection list(ExchangeRateListParams params, Request
return getGlobalResponseGetter().request(request, ExchangeRateCollection.class);
}
- /** Retrieves the exchange rates from the given currency to every supported currency. */
+ /**
+ * [Deprecated] The {@code ExchangeRate} APIs are deprecated. Please use the FX Quotes
+ * API instead.
+ *
+ * Retrieves the exchange rates from the given currency to every supported currency.
+ */
+ @Deprecated
public static ExchangeRate retrieve(String rateId) throws StripeException {
return retrieve(rateId, (Map Retrieves the exchange rates from the given currency to every supported currency.
+ */
+ @Deprecated
public static ExchangeRate retrieve(String rateId, RequestOptions options)
throws StripeException {
return retrieve(rateId, (Map Retrieves the exchange rates from the given currency to every supported currency.
+ */
+ @Deprecated
public static ExchangeRate retrieve(
String rateId, Map Retrieves the exchange rates from the given currency to every supported currency.
+ */
+ @Deprecated
public static ExchangeRate retrieve(
String rateId, ExchangeRateRetrieveParams params, RequestOptions options)
throws StripeException {
diff --git a/src/main/java/com/stripe/model/Invoice.java b/src/main/java/com/stripe/model/Invoice.java
index 4ba5c9d3a54..4be8c0ba6e8 100644
--- a/src/main/java/com/stripe/model/Invoice.java
+++ b/src/main/java/com/stripe/model/Invoice.java
@@ -2507,6 +2507,13 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("konbini")
Konbini konbini;
+ /**
+ * If paying by {@code pix}, this sub-hash contains details about the Pix payment method
+ * options to pass to the invoice’s PaymentIntent.
+ */
+ @SerializedName("pix")
+ Pix pix;
+
/**
* If paying by {@code sepa_debit}, this sub-hash contains details about the SEPA Direct Debit
* payment method options to pass to the invoice’s PaymentIntent.
@@ -2700,6 +2707,23 @@ public static class IdBankTransfer extends StripeObject {}
@EqualsAndHashCode(callSuper = false)
public static class Konbini extends StripeObject {}
+ /**
+ * For more details about Pix, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Pix extends StripeObject {
+ /**
+ * Determines if the amount includes the IOF tax.
+ *
+ * One of {@code always}, or {@code never}.
+ */
+ @SerializedName("amount_includes_iof")
+ String amountIncludesIof;
+ }
+
/**
* For more details about SepaDebit, please refer to the API Reference.
diff --git a/src/main/java/com/stripe/model/InvoiceItem.java b/src/main/java/com/stripe/model/InvoiceItem.java
index b32ed431cde..e5c59c96e9c 100644
--- a/src/main/java/com/stripe/model/InvoiceItem.java
+++ b/src/main/java/com/stripe/model/InvoiceItem.java
@@ -126,6 +126,13 @@ public class InvoiceItem extends ApiResource implements HasId, MetadataStore API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Paypay extends StripeObject {}
+
/**
* For more details about Payto, please refer to the API
* Reference.
@@ -2850,6 +2862,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(payco, responseGetter);
trySetResponseGetter(paynow, responseGetter);
trySetResponseGetter(paypal, responseGetter);
+ trySetResponseGetter(paypay, responseGetter);
trySetResponseGetter(payto, responseGetter);
trySetResponseGetter(pix, responseGetter);
trySetResponseGetter(promptpay, responseGetter);
diff --git a/src/main/java/com/stripe/model/PaymentMethodConfiguration.java b/src/main/java/com/stripe/model/PaymentMethodConfiguration.java
index 16088e60d3c..e95ad0a208b 100644
--- a/src/main/java/com/stripe/model/PaymentMethodConfiguration.java
+++ b/src/main/java/com/stripe/model/PaymentMethodConfiguration.java
@@ -215,6 +215,9 @@ public class PaymentMethodConfiguration extends ApiResource implements HasId {
@SerializedName("paypal")
Paypal paypal;
+ @SerializedName("paypay")
+ Paypay paypay;
+
@SerializedName("payto")
Payto payto;
@@ -2505,6 +2508,57 @@ public static class DisplayPreference extends StripeObject {
}
}
+ /**
+ * For more details about Paypay, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Paypay extends StripeObject {
+ /**
+ * Whether this payment method may be offered at checkout. True if {@code display_preference} is
+ * {@code on} and the payment method's capability is active.
+ */
+ @SerializedName("available")
+ Boolean available;
+
+ @SerializedName("display_preference")
+ DisplayPreference displayPreference;
+
+ /**
+ * For more details about DisplayPreference, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class DisplayPreference extends StripeObject {
+ /**
+ * For child configs, whether or not the account's preference will be observed. If {@code
+ * false}, the parent configuration's default is used.
+ */
+ @SerializedName("overridable")
+ Boolean overridable;
+
+ /**
+ * The account's display preference.
+ *
+ * One of {@code none}, {@code off}, or {@code on}.
+ */
+ @SerializedName("preference")
+ String preference;
+
+ /**
+ * The effective display preference value.
+ *
+ * One of {@code off}, or {@code on}.
+ */
+ @SerializedName("value")
+ String value;
+ }
+ }
+
/**
* For more details about Payto, please refer to the API
* Reference.
@@ -3314,6 +3368,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(payco, responseGetter);
trySetResponseGetter(paynow, responseGetter);
trySetResponseGetter(paypal, responseGetter);
+ trySetResponseGetter(paypay, responseGetter);
trySetResponseGetter(payto, responseGetter);
trySetResponseGetter(pix, responseGetter);
trySetResponseGetter(promptpay, responseGetter);
diff --git a/src/main/java/com/stripe/model/PaymentRecord.java b/src/main/java/com/stripe/model/PaymentRecord.java
index 1981ee34314..4a59357d016 100644
--- a/src/main/java/com/stripe/model/PaymentRecord.java
+++ b/src/main/java/com/stripe/model/PaymentRecord.java
@@ -12,6 +12,7 @@
import com.stripe.param.PaymentRecordReportPaymentAttemptCanceledParams;
import com.stripe.param.PaymentRecordReportPaymentAttemptFailedParams;
import com.stripe.param.PaymentRecordReportPaymentAttemptGuaranteedParams;
+import com.stripe.param.PaymentRecordReportPaymentAttemptInformationalParams;
import com.stripe.param.PaymentRecordReportPaymentAttemptParams;
import com.stripe.param.PaymentRecordReportPaymentParams;
import com.stripe.param.PaymentRecordRetrieveParams;
@@ -368,6 +369,60 @@ public PaymentRecord reportPaymentAttemptGuaranteed(
return getResponseGetter().request(request, PaymentRecord.class);
}
+ /** Report informational updates on the specified Payment Record. */
+ public PaymentRecord reportPaymentAttemptInformational() throws StripeException {
+ return reportPaymentAttemptInformational((Map One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
- * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
- * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
- * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
- * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
- * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
- * invalid_representative_country}, {@code invalid_signator}, {@code
- * invalid_statement_descriptor_business_mismatch}, {@code
+ * One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -567,29 +567,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
@@ -757,14 +758,14 @@ public static class Errors extends StripeObject {
/**
* The code for the type of error.
*
- * One of {@code information_missing}, {@code invalid_address_city_state_postal_code},
- * {@code invalid_address_highway_contract_box}, {@code invalid_address_private_mailbox},
- * {@code invalid_business_profile_name}, {@code invalid_business_profile_name_denylisted},
- * {@code invalid_company_name_denylisted}, {@code invalid_dob_age_over_maximum}, {@code
- * invalid_dob_age_under_18}, {@code invalid_dob_age_under_minimum}, {@code
- * invalid_product_description_length}, {@code invalid_product_description_url_match}, {@code
- * invalid_representative_country}, {@code invalid_signator}, {@code
- * invalid_statement_descriptor_business_mismatch}, {@code
+ * One of {@code external_request}, {@code information_missing}, {@code
+ * invalid_address_city_state_postal_code}, {@code invalid_address_highway_contract_box},
+ * {@code invalid_address_private_mailbox}, {@code invalid_business_profile_name}, {@code
+ * invalid_business_profile_name_denylisted}, {@code invalid_company_name_denylisted}, {@code
+ * invalid_dob_age_over_maximum}, {@code invalid_dob_age_under_18}, {@code
+ * invalid_dob_age_under_minimum}, {@code invalid_product_description_length}, {@code
+ * invalid_product_description_url_match}, {@code invalid_representative_country}, {@code
+ * invalid_signator}, {@code invalid_statement_descriptor_business_mismatch}, {@code
* invalid_statement_descriptor_denylisted}, {@code invalid_statement_descriptor_length},
* {@code invalid_statement_descriptor_prefix_denylisted}, {@code
* invalid_statement_descriptor_prefix_mismatch}, {@code invalid_street_address}, {@code
@@ -783,29 +784,30 @@ public static class Errors extends StripeObject {
* invalid_url_website_incomplete_return_policy}, {@code
* invalid_url_website_incomplete_terms_and_conditions}, {@code
* invalid_url_website_incomplete_under_construction}, {@code invalid_url_website_other},
- * {@code invalid_value_other}, {@code verification_directors_mismatch}, {@code
- * verification_document_address_mismatch}, {@code verification_document_address_missing},
- * {@code verification_document_corrupt}, {@code verification_document_country_not_supported},
- * {@code verification_document_directors_mismatch}, {@code
- * verification_document_dob_mismatch}, {@code verification_document_duplicate_type}, {@code
- * verification_document_expired}, {@code verification_document_failed_copy}, {@code
- * verification_document_failed_greyscale}, {@code verification_document_failed_other}, {@code
- * verification_document_failed_test_mode}, {@code verification_document_fraudulent}, {@code
- * verification_document_id_number_mismatch}, {@code verification_document_id_number_missing},
- * {@code verification_document_incomplete}, {@code verification_document_invalid}, {@code
- * verification_document_issue_or_expiry_date_missing}, {@code
- * verification_document_manipulated}, {@code verification_document_missing_back}, {@code
- * verification_document_missing_front}, {@code verification_document_name_mismatch}, {@code
- * verification_document_name_missing}, {@code verification_document_nationality_mismatch},
- * {@code verification_document_not_readable}, {@code verification_document_not_signed},
- * {@code verification_document_not_uploaded}, {@code verification_document_photo_mismatch},
- * {@code verification_document_too_large}, {@code verification_document_type_not_supported},
- * {@code verification_extraneous_directors}, {@code verification_failed_address_match},
- * {@code verification_failed_authorizer_authority}, {@code
- * verification_failed_business_iec_number}, {@code verification_failed_document_match},
- * {@code verification_failed_id_number_match}, {@code verification_failed_keyed_identity},
- * {@code verification_failed_keyed_match}, {@code verification_failed_name_match}, {@code
- * verification_failed_other}, {@code verification_failed_representative_authority}, {@code
+ * {@code invalid_value_other}, {@code unsupported_business_type}, {@code
+ * verification_directors_mismatch}, {@code verification_document_address_mismatch}, {@code
+ * verification_document_address_missing}, {@code verification_document_corrupt}, {@code
+ * verification_document_country_not_supported}, {@code
+ * verification_document_directors_mismatch}, {@code verification_document_dob_mismatch},
+ * {@code verification_document_duplicate_type}, {@code verification_document_expired}, {@code
+ * verification_document_failed_copy}, {@code verification_document_failed_greyscale}, {@code
+ * verification_document_failed_other}, {@code verification_document_failed_test_mode}, {@code
+ * verification_document_fraudulent}, {@code verification_document_id_number_mismatch}, {@code
+ * verification_document_id_number_missing}, {@code verification_document_incomplete}, {@code
+ * verification_document_invalid}, {@code verification_document_issue_or_expiry_date_missing},
+ * {@code verification_document_manipulated}, {@code verification_document_missing_back},
+ * {@code verification_document_missing_front}, {@code verification_document_name_mismatch},
+ * {@code verification_document_name_missing}, {@code
+ * verification_document_nationality_mismatch}, {@code verification_document_not_readable},
+ * {@code verification_document_not_signed}, {@code verification_document_not_uploaded},
+ * {@code verification_document_photo_mismatch}, {@code verification_document_too_large},
+ * {@code verification_document_type_not_supported}, {@code
+ * verification_extraneous_directors}, {@code verification_failed_address_match}, {@code
+ * verification_failed_authorizer_authority}, {@code verification_failed_business_iec_number},
+ * {@code verification_failed_document_match}, {@code verification_failed_id_number_match},
+ * {@code verification_failed_keyed_identity}, {@code verification_failed_keyed_match}, {@code
+ * verification_failed_name_match}, {@code verification_failed_other}, {@code
+ * verification_failed_representative_authority}, {@code
* verification_failed_residential_address}, {@code verification_failed_tax_id_match}, {@code
* verification_failed_tax_id_not_issued}, {@code
* verification_legal_entity_structure_mismatch}, {@code verification_missing_directors},
diff --git a/src/main/java/com/stripe/model/PromotionCode.java b/src/main/java/com/stripe/model/PromotionCode.java
index 087f305b2b6..51ec9aefd2e 100644
--- a/src/main/java/com/stripe/model/PromotionCode.java
+++ b/src/main/java/com/stripe/model/PromotionCode.java
@@ -19,9 +19,8 @@
import lombok.Setter;
/**
- * A Promotion Code represents a customer-redeemable code for a coupon. You can create multiple codes for a single
- * coupon.
+ * A Promotion Code represents a customer-redeemable code for an underlying promotion. You can
+ * create multiple codes for a single promotion.
*
* If you enable promotion codes in your customer portal
@@ -48,19 +47,6 @@ public class PromotionCode extends ApiResource implements HasId, MetadataStore subscriptions params) throws StripeException {
return create(params, (RequestOptions) null);
}
/**
- * A promotion code points to a coupon. You can optionally restrict the code to a specific
- * customer, redemption limit, and expiration date.
+ * A promotion code points to an underlying promotion. You can optionally restrict the code to a
+ * specific customer, redemption limit, and expiration date.
*/
public static PromotionCode create(Map Equal to {@code coupon}.
+ */
+ @SerializedName("type")
+ String type;
+
+ /** Get ID of expandable {@code coupon} object. */
+ public String getCoupon() {
+ return (this.coupon != null) ? this.coupon.getId() : null;
+ }
+
+ public void setCoupon(String id) {
+ this.coupon = ApiResource.setExpandableFieldId(id, this.coupon);
+ }
+
+ /** Get expanded {@code coupon}. */
+ public Coupon getCouponObject() {
+ return (this.coupon != null) ? this.coupon.getExpanded() : null;
+ }
+
+ public void setCouponObject(Coupon expandableObject) {
+ this.coupon = new ExpandableField One of {@code included}, or {@code itemized}.
+ */
+ @SerializedName("proration_discounts")
+ String prorationDiscounts;
+ }
}
/**
diff --git a/src/main/java/com/stripe/model/QuotePreviewInvoice.java b/src/main/java/com/stripe/model/QuotePreviewInvoice.java
index 6888e4b8659..9f5b050c330 100644
--- a/src/main/java/com/stripe/model/QuotePreviewInvoice.java
+++ b/src/main/java/com/stripe/model/QuotePreviewInvoice.java
@@ -1375,6 +1375,13 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("konbini")
Konbini konbini;
+ /**
+ * If paying by {@code pix}, this sub-hash contains details about the Pix payment method
+ * options to pass to the invoice’s PaymentIntent.
+ */
+ @SerializedName("pix")
+ Pix pix;
+
/**
* If paying by {@code sepa_debit}, this sub-hash contains details about the SEPA Direct Debit
* payment method options to pass to the invoice’s PaymentIntent.
@@ -1568,6 +1575,23 @@ public static class IdBankTransfer extends StripeObject {}
@EqualsAndHashCode(callSuper = false)
public static class Konbini extends StripeObject {}
+ /**
+ * For more details about Pix, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Pix extends StripeObject {
+ /**
+ * Determines if the amount includes the IOF tax.
+ *
+ * One of {@code always}, or {@code never}.
+ */
+ @SerializedName("amount_includes_iof")
+ String amountIncludesIof;
+ }
+
/**
* For more details about SepaDebit, please refer to the API Reference.
diff --git a/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java b/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
index d3cc29da076..7c31549af0f 100644
--- a/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
+++ b/src/main/java/com/stripe/model/QuotePreviewSubscriptionSchedule.java
@@ -320,6 +320,10 @@ public static class AppliesTo extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class BillingMode extends StripeObject {
+ /** Configure behavior for flexible billing mode. */
+ @SerializedName("flexible")
+ Flexible flexible;
+
/**
* Controls how prorations and invoices for subscriptions are calculated and orchestrated.
*
@@ -331,6 +335,23 @@ public static class BillingMode extends StripeObject {
/** Details on when the current billing_mode was adopted. */
@SerializedName("updated_at")
Long updatedAt;
+
+ /**
+ * For more details about Flexible, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Flexible extends StripeObject {
+ /**
+ * Controls how invoices and invoice items display proration amounts and discount amounts.
+ *
+ * One of {@code included}, or {@code itemized}.
+ */
+ @SerializedName("proration_discounts")
+ String prorationDiscounts;
+ }
}
/**
diff --git a/src/main/java/com/stripe/model/Source.java b/src/main/java/com/stripe/model/Source.java
index feb3f98574c..ac8dd992a5c 100644
--- a/src/main/java/com/stripe/model/Source.java
+++ b/src/main/java/com/stripe/model/Source.java
@@ -1191,8 +1191,8 @@ public static class Redirect extends StripeObject {
/**
* The status of the redirect, either {@code pending} (ready to be used by your customer to
- * authenticate the transaction), {@code succeeded} (succesful authentication, cannot be reused)
- * or {@code not_required} (redirect should not be used) or {@code failed} (failed
+ * authenticate the transaction), {@code succeeded} (successful authentication, cannot be
+ * reused) or {@code not_required} (redirect should not be used) or {@code failed} (failed
* authentication, cannot be reused).
*/
@SerializedName("status")
diff --git a/src/main/java/com/stripe/model/StripeError.java b/src/main/java/com/stripe/model/StripeError.java
index a688f42b669..b15a46f540f 100644
--- a/src/main/java/com/stripe/model/StripeError.java
+++ b/src/main/java/com/stripe/model/StripeError.java
@@ -46,7 +46,9 @@ public class StripeError extends StripeObject {
* customer_max_payment_methods}, {@code customer_max_subscriptions}, {@code
* customer_session_expired}, {@code customer_tax_location_invalid}, {@code debit_not_authorized},
* {@code email_invalid}, {@code expired_card}, {@code financial_connections_account_inactive},
- * {@code financial_connections_institution_unavailable}, {@code
+ * {@code financial_connections_account_pending_account_numbers}, {@code
+ * financial_connections_account_unavailable_account_numbers}, {@code
+ * financial_connections_institution_unavailable}, {@code
* financial_connections_no_successful_transaction_refresh}, {@code forwarding_api_inactive},
* {@code forwarding_api_invalid_parameter}, {@code forwarding_api_retryable_upstream_error},
* {@code forwarding_api_upstream_connection_error}, {@code
diff --git a/src/main/java/com/stripe/model/Subscription.java b/src/main/java/com/stripe/model/Subscription.java
index a1f4b77e6a7..79488d21582 100644
--- a/src/main/java/com/stripe/model/Subscription.java
+++ b/src/main/java/com/stripe/model/Subscription.java
@@ -70,6 +70,10 @@ public class Subscription extends ApiResource implements HasId, MetadataStore One of {@code included}, or {@code itemized}.
+ */
+ @SerializedName("proration_discounts")
+ String prorationDiscounts;
+ }
+ }
+
+ /** Sets the billing schedule for the subscription. */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class BillingSchedule extends StripeObject {
+ /** Specifies which subscription items the billing schedule applies to. */
+ @SerializedName("applies_to")
+ List Equal to {@code price}.
+ */
+ @SerializedName("type")
+ String type;
+
+ /** Get ID of expandable {@code price} object. */
+ public String getPrice() {
+ return (this.price != null) ? this.price.getId() : null;
+ }
+
+ public void setPrice(String id) {
+ this.price = ApiResource.setExpandableFieldId(id, this.price);
+ }
+
+ /** Get expanded {@code price}. */
+ public Price getPriceObject() {
+ return (this.price != null) ? this.price.getExpanded() : null;
+ }
+
+ public void setPriceObject(Price expandableObject) {
+ this.price = new ExpandableField One of {@code duration}, or {@code timestamp}.
+ */
+ @SerializedName("type")
+ String type;
+
+ /**
+ * Configures the {@code bill_until} date based on the provided {@code interval} and {@code
+ * interval_count}.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Duration extends StripeObject {
+ /**
+ * Specifies billing duration. Either {@code day}, {@code week}, {@code month} or {@code
+ * year}.
+ *
+ * One of {@code day}, {@code month}, {@code week}, or {@code year}.
+ */
+ @SerializedName("interval")
+ String interval;
+
+ /** The multiplier applied to the interval. */
+ @SerializedName("interval_count")
+ Long intervalCount;
+ }
+ }
}
/**
@@ -1731,6 +1861,13 @@ public static class PaymentMethodOptions extends StripeObject {
@SerializedName("konbini")
Konbini konbini;
+ /**
+ * This sub-hash contains details about the Pix payment method options to pass to invoices
+ * created by the subscription.
+ */
+ @SerializedName("pix")
+ Pix pix;
+
/**
* This sub-hash contains details about the SEPA Direct Debit payment method options to pass
* to invoices created by the subscription.
@@ -1946,6 +2083,55 @@ public static class IdBankTransfer extends StripeObject {}
@EqualsAndHashCode(callSuper = false)
public static class Konbini extends StripeObject {}
+ /**
+ * For more details about Pix, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Pix extends StripeObject {
+ @SerializedName("mandate_options")
+ MandateOptions mandateOptions;
+
+ /**
+ * For more details about MandateOptions, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class MandateOptions extends StripeObject {
+ /** Amount to be charged for future payments. */
+ @SerializedName("amount")
+ Long amount;
+
+ /**
+ * Determines if the amount includes the IOF tax.
+ *
+ * One of {@code always}, or {@code never}.
+ */
+ @SerializedName("amount_includes_iof")
+ String amountIncludesIof;
+
+ /**
+ * Date when the mandate expires and no further payments will be charged, in {@code
+ * YYYY-MM-DD}.
+ */
+ @SerializedName("end_date")
+ String endDate;
+
+ /**
+ * Schedule at which the future payments will be charged.
+ *
+ * One of {@code halfyearly}, {@code monthly}, {@code quarterly}, {@code weekly}, or
+ * {@code yearly}.
+ */
+ @SerializedName("payment_schedule")
+ String paymentSchedule;
+ }
+ }
+
/**
* For more details about SepaDebit, please refer to the API Reference.
diff --git a/src/main/java/com/stripe/model/SubscriptionItem.java b/src/main/java/com/stripe/model/SubscriptionItem.java
index 310604f8e36..e525396e6d4 100644
--- a/src/main/java/com/stripe/model/SubscriptionItem.java
+++ b/src/main/java/com/stripe/model/SubscriptionItem.java
@@ -30,6 +30,10 @@
@EqualsAndHashCode(callSuper = false)
public class SubscriptionItem extends ApiResource
implements HasId, MetadataStore One of {@code included}, or {@code itemized}.
+ */
+ @SerializedName("proration_discounts")
+ String prorationDiscounts;
+ }
}
/**
diff --git a/src/main/java/com/stripe/model/billing/MeterUsage.java b/src/main/java/com/stripe/model/billing/analytics/MeterUsage.java
similarity index 83%
rename from src/main/java/com/stripe/model/billing/MeterUsage.java
rename to src/main/java/com/stripe/model/billing/analytics/MeterUsage.java
index 12bc8a41975..444402d2bc7 100644
--- a/src/main/java/com/stripe/model/billing/MeterUsage.java
+++ b/src/main/java/com/stripe/model/billing/analytics/MeterUsage.java
@@ -1,5 +1,5 @@
// File generated from our OpenAPI spec
-package com.stripe.model.billing;
+package com.stripe.model.billing.analytics;
import com.google.gson.annotations.SerializedName;
import com.stripe.exception.StripeException;
@@ -8,8 +8,8 @@
import com.stripe.net.ApiResource;
import com.stripe.net.BaseAddress;
import com.stripe.net.RequestOptions;
-import com.stripe.param.billing.MeterUsageRetrieveParams;
-import java.util.List;
+import com.stripe.net.StripeResponseGetter;
+import com.stripe.param.billing.analytics.MeterUsageRetrieveParams;
import java.util.Map;
import lombok.EqualsAndHashCode;
import lombok.Getter;
@@ -23,14 +23,6 @@
@Setter
@EqualsAndHashCode(callSuper = false)
public class MeterUsage extends ApiResource {
- /** The aggregated meter usage data for the specified customer and time range. */
- @SerializedName("data")
- List Equal to {@code billing.meter_usage}.
+ * Equal to {@code billing.analytics.meter_usage}.
*/
@SerializedName("object")
String object;
+ /** The timestamp to indicate data freshness, measured in seconds since the Unix epoch. */
+ @SerializedName("refreshed_at")
+ Long refreshedAt;
+
+ @SerializedName("rows")
+ MeterUsageRowCollection rows;
+
/**
* Returns aggregated meter usage data for a customer within a specified time interval. The data
* can be grouped by various dimensions and can include multiple meters if specified.
@@ -91,4 +90,10 @@ public static MeterUsage retrieve(MeterUsageRetrieveParams params, RequestOption
options);
return getGlobalResponseGetter().request(request, MeterUsage.class);
}
+
+ @Override
+ public void setResponseGetter(StripeResponseGetter responseGetter) {
+ super.setResponseGetter(responseGetter);
+ trySetResponseGetter(rows, responseGetter);
+ }
}
diff --git a/src/main/java/com/stripe/model/billing/MeterUsageRow.java b/src/main/java/com/stripe/model/billing/analytics/MeterUsageRow.java
similarity index 79%
rename from src/main/java/com/stripe/model/billing/MeterUsageRow.java
rename to src/main/java/com/stripe/model/billing/analytics/MeterUsageRow.java
index 547e3b68e94..20629016ffa 100644
--- a/src/main/java/com/stripe/model/billing/MeterUsageRow.java
+++ b/src/main/java/com/stripe/model/billing/analytics/MeterUsageRow.java
@@ -1,5 +1,5 @@
// File generated from our OpenAPI spec
-package com.stripe.model.billing;
+package com.stripe.model.billing.analytics;
import com.google.gson.annotations.SerializedName;
import com.stripe.model.HasId;
@@ -14,22 +14,14 @@
@Setter
@EqualsAndHashCode(callSuper = false)
public class MeterUsageRow extends StripeObject implements HasId {
- /** Timestamp indicating the end of the bucket. Measured in seconds since the Unix epoch. */
- @SerializedName("bucket_end_time")
- Long bucketEndTime;
-
- /** Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. */
- @SerializedName("bucket_start_time")
- Long bucketStartTime;
-
- /** The aggregated meter usage value for the specified bucket. */
- @SerializedName("bucket_value")
- BigDecimal bucketValue;
-
/** A set of key-value pairs representing the dimensions of the meter usage. */
@SerializedName("dimensions")
Map Equal to {@code billing.meter_usage_row}.
+ * Equal to {@code billing.analytics.meter_usage_row}.
*/
@SerializedName("object")
String object;
+
+ /** Timestamp indicating the start of the bucket. Measured in seconds since the Unix epoch. */
+ @SerializedName("starts_at")
+ Long startsAt;
+
+ /** The aggregated meter usage value for the specified bucket. */
+ @SerializedName("value")
+ BigDecimal value;
}
diff --git a/src/main/java/com/stripe/model/billing/analytics/MeterUsageRowCollection.java b/src/main/java/com/stripe/model/billing/analytics/MeterUsageRowCollection.java
new file mode 100644
index 00000000000..40d0877c886
--- /dev/null
+++ b/src/main/java/com/stripe/model/billing/analytics/MeterUsageRowCollection.java
@@ -0,0 +1,6 @@
+// File generated from our OpenAPI spec
+package com.stripe.model.billing.analytics;
+
+import com.stripe.model.StripeCollection;
+
+public class MeterUsageRowCollection extends StripeCollection One of {@code continue_trial}, or {@code end_trial}.
+ */
+ @SerializedName("trial_update_behavior")
+ String trialUpdateBehavior;
+
/**
* For more details about Product, please refer to the API Reference.
diff --git a/src/main/java/com/stripe/model/checkout/Session.java b/src/main/java/com/stripe/model/checkout/Session.java
index 0797bad0d51..4a65ade6130 100644
--- a/src/main/java/com/stripe/model/checkout/Session.java
+++ b/src/main/java/com/stripe/model/checkout/Session.java
@@ -94,6 +94,9 @@ public class Session extends ApiResource implements HasId, MetadataStore Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -2095,6 +2294,14 @@ public static class Affirm extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AfterpayClearpay extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -2153,6 +2360,23 @@ public static class Alipay extends StripeObject {
String setupFutureUsage;
}
+ /**
+ * For more details about Alma, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Alma extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+ }
+
/**
* For more details about AmazonPay, please refer to the API Reference.
@@ -2161,6 +2385,14 @@ public static class Alipay extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class AmazonPay extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -2321,6 +2553,23 @@ public static class Bancontact extends StripeObject {
String setupFutureUsage;
}
+ /**
+ * For more details about Billie, please refer to the API
+ * Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Billie extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+ }
+
/**
* For more details about Boleto, please refer to the API
* Reference.
@@ -2370,6 +2619,14 @@ public static class Boleto extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Card extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
@SerializedName("installments")
Installments installments;
@@ -2520,6 +2777,14 @@ public static class Restrictions extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Cashapp extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -2855,6 +3120,14 @@ public static class KakaoPay extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Klarna extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -2971,6 +3244,14 @@ public static class KrCard extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Link extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -3004,6 +3285,14 @@ public static class Link extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class Mobilepay extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -3506,6 +3795,14 @@ public static class MandateOptions extends StripeObject {
@Setter
@EqualsAndHashCode(callSuper = false)
public static class RevolutPay extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+
/**
* Indicates that you intend to make future payments with this PaymentIntent's payment method.
*
@@ -3548,6 +3845,23 @@ public static class SamsungPay extends StripeObject {
String captureMethod;
}
+ /**
+ * For more details about Satispay, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class Satispay extends StripeObject {
+ /**
+ * Controls when the funds will be captured from the customer's account.
+ *
+ * Equal to {@code manual}.
+ */
+ @SerializedName("capture_method")
+ String captureMethod;
+ }
+
/**
* For more details about SepaDebit, please refer to the API Reference.
@@ -4245,6 +4559,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(adaptivePricing, responseGetter);
trySetResponseGetter(afterExpiration, responseGetter);
trySetResponseGetter(automaticTax, responseGetter);
+ trySetResponseGetter(brandingSettings, responseGetter);
trySetResponseGetter(collectedInformation, responseGetter);
trySetResponseGetter(consent, responseGetter);
trySetResponseGetter(consentCollection, responseGetter);
@@ -4255,6 +4570,7 @@ public void setResponseGetter(StripeResponseGetter responseGetter) {
trySetResponseGetter(invoice, responseGetter);
trySetResponseGetter(invoiceCreation, responseGetter);
trySetResponseGetter(lineItems, responseGetter);
+ trySetResponseGetter(nameCollection, responseGetter);
trySetResponseGetter(paymentIntent, responseGetter);
trySetResponseGetter(paymentLink, responseGetter);
trySetResponseGetter(paymentMethodConfigurationDetails, responseGetter);
diff --git a/src/main/java/com/stripe/model/issuing/Card.java b/src/main/java/com/stripe/model/issuing/Card.java
index 979aff4b95e..c2279b0a4a6 100644
--- a/src/main/java/com/stripe/model/issuing/Card.java
+++ b/src/main/java/com/stripe/model/issuing/Card.java
@@ -165,6 +165,10 @@ public class Card extends ApiResource implements HasId, MetadataStore One of {@code anrok}, {@code avalara}, {@code sphere}, or {@code stripe}.
+ */
+ @SerializedName("provider")
+ String provider;
+
/**
* Default tax
diff --git a/src/main/java/com/stripe/model/tax/Transaction.java b/src/main/java/com/stripe/model/tax/Transaction.java
index fd628992398..f67b062766f 100644
--- a/src/main/java/com/stripe/model/tax/Transaction.java
+++ b/src/main/java/com/stripe/model/tax/Transaction.java
@@ -335,11 +335,11 @@ public static class Address extends StripeObject {
@SerializedName("country")
String country;
- /** Address line 1 (e.g., street, PO Box, or company name). */
+ /** Address line 1, such as the street, PO Box, or company name. */
@SerializedName("line1")
String line1;
- /** Address line 2 (e.g., apartment, suite, unit, or building). */
+ /** Address line 2, such as the apartment, suite, unit, or building. */
@SerializedName("line2")
String line2;
@@ -349,7 +349,7 @@ public static class Address extends StripeObject {
/**
* State/province as an ISO 3166-2
- * subdivision code, without country prefix. Example: "NY" or "TX".
+ * subdivision code, without country prefix, such as "NY" or "TX".
*/
@SerializedName("state")
String state;
@@ -438,11 +438,11 @@ public static class Address extends StripeObject {
@SerializedName("country")
String country;
- /** Address line 1 (e.g., street, PO Box, or company name). */
+ /** Address line 1, such as the street, PO Box, or company name. */
@SerializedName("line1")
String line1;
- /** Address line 2 (e.g., apartment, suite, unit, or building). */
+ /** Address line 2, such as the apartment, suite, unit, or building. */
@SerializedName("line2")
String line2;
@@ -452,7 +452,7 @@ public static class Address extends StripeObject {
/**
* State/province as an ISO 3166-2
- * subdivision code, without country prefix. Example: "NY" or "TX".
+ * subdivision code, without country prefix, such as "NY" or "TX".
*/
@SerializedName("state")
String state;
diff --git a/src/main/java/com/stripe/model/terminal/Configuration.java b/src/main/java/com/stripe/model/terminal/Configuration.java
index e6b4a193f7c..ea48c740df3 100644
--- a/src/main/java/com/stripe/model/terminal/Configuration.java
+++ b/src/main/java/com/stripe/model/terminal/Configuration.java
@@ -33,6 +33,9 @@
@Setter
@EqualsAndHashCode(callSuper = false)
public class Configuration extends ApiResource implements HasId {
+ @SerializedName("bbpos_wisepad3")
+ BbposWisepad3 bbposWisepad3;
+
@SerializedName("bbpos_wisepos_e")
BbposWiseposE bbposWiseposE;
@@ -258,6 +261,39 @@ public Configuration update(ConfigurationUpdateParams params, RequestOptions opt
return getResponseGetter().request(request, Configuration.class);
}
+ /**
+ * For more details about BbposWisepad3, please refer to the API Reference.
+ */
+ @Getter
+ @Setter
+ @EqualsAndHashCode(callSuper = false)
+ public static class BbposWisepad3 extends StripeObject {
+ /** A File ID representing an image to display on the reader. */
+ @SerializedName("splashscreen")
+ @Getter(lombok.AccessLevel.NONE)
+ @Setter(lombok.AccessLevel.NONE)
+ ExpandableField One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
- */
+ /** The identified tax country of the customer. */
@SerializedName("country")
String country;
@@ -278,8 +243,8 @@ public static class Location extends StripeObject {
}
/**
- * For more details about Billing, please refer to the API Reference.
+ * Billing settings - default settings used for this customer in Billing flows such as
+ * Invoices and Subscriptions.
*/
@Getter
@Setter
@@ -296,10 +261,7 @@ public static class Billing extends StripeObject {
@SerializedName("invoice")
Invoice invoice;
- /**
- * For more details about Invoice, please refer to the API Reference.
- */
+ /** Default settings used on invoices for this customer. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -317,7 +279,7 @@ public static class Invoice extends StripeObject {
/** The sequence to be used on the customer's next invoice. Defaults to 1. */
@SerializedName("next_sequence")
- Integer nextSequence;
+ Long nextSequence;
/**
* The prefix for the customer used to generate unique invoice numbers. Must be 3–12
@@ -350,10 +312,7 @@ public static class CustomField extends StripeObject {
String value;
}
- /**
- * For more details about Rendering, please refer to the API Reference.
- */
+ /** Default options for invoice PDF rendering for this customer. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -374,10 +333,7 @@ public static class Rendering extends StripeObject {
}
}
- /**
- * For more details about Capabilities, please refer to the API Reference.
- */
+ /** Capabilities that have been requested on the Customer Configuration. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -392,8 +348,10 @@ public static class Capabilities extends StripeObject {
AutomaticIndirectTax automaticIndirectTax;
/**
- * For more details about AutomaticIndirectTax, please refer to the API Reference.
+ * Generates requirements for enabling automatic indirect tax calculation on this customer's
+ * invoices or subscriptions. Recommended to request this capability if planning to enable
+ * automatic tax calculation on this customer's invoices or subscriptions. Uses the {@code
+ * location_source} field.
*/
@Getter
@Setter
@@ -450,10 +408,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about Shipping, please refer to the API Reference.
- */
+ /** The customer's shipping information. Appears on invoices emailed to this customer. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -470,10 +425,7 @@ public static class Shipping extends StripeObject {
@SerializedName("phone")
String phone;
- /**
- * For more details about Address, please refer to the API Reference.
- */
+ /** Customer shipping address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -485,43 +437,6 @@ public static class Address extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -546,8 +461,9 @@ public static class Address extends StripeObject {
}
/**
- * For more details about Merchant, please refer to the API Reference.
+ * The Merchant configuration allows the Account to act as a connected account and collect
+ * payments facilitated by a Connect platform. You can add this configuration to your connected
+ * accounts only if you’ve completed onboarding as a Connect platform.
*/
@Getter
@Setter
@@ -598,10 +514,7 @@ public static class Merchant extends StripeObject {
@SerializedName("support")
Support support;
- /**
- * For more details about BacsDebitPayments, please refer to the API Reference.
- */
+ /** Settings used for Bacs debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -616,8 +529,8 @@ public static class BacsDebitPayments extends StripeObject {
}
/**
- * For more details about Branding, please refer to the API Reference.
+ * Settings used to apply the merchant's branding to email receipts, invoices, Checkout, and
+ * other products.
*/
@Getter
@Setter
@@ -647,10 +560,7 @@ public static class Branding extends StripeObject {
String secondaryColor;
}
- /**
- * For more details about Capabilities, please refer to the API Reference.
- */
+ /** Capabilities that have been requested on the Merchant Configuration. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -835,10 +745,7 @@ public static class Capabilities extends StripeObject {
@SerializedName("zip_payments")
ZipPayments zipPayments;
- /**
- * For more details about AchDebitPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process ACH debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -893,10 +800,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AcssDebitPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process ACSS debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -951,10 +855,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AffirmPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Affirm payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1009,10 +910,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AfterpayClearpayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Afterpay/Clearpay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1067,10 +965,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AlmaPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Alma payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1124,10 +1019,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AmazonPayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Amazon Pay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1182,10 +1074,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about AuBecsDebitPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Australian BECS Direct Debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1240,10 +1129,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about BacsDebitPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process BACS Direct Debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1298,10 +1184,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about BancontactPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Bancontact payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1356,10 +1239,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about BlikPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process BLIK payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1413,10 +1293,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about BoletoPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Boleto payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1471,10 +1348,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about CardPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to collect card payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1528,10 +1402,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about CartesBancairesPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Cartes Bancaires payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1586,10 +1457,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about CashappPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Cash App payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1644,10 +1512,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about EpsPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process EPS payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1701,10 +1566,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about FpxPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process FPX payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1758,10 +1620,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about GbBankTransferPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process UK bank transfer payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1816,10 +1675,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about GrabpayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process GrabPay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1874,10 +1730,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about IdealPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process iDEAL payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1932,10 +1785,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about JcbPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process JCB card payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -1989,10 +1839,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about JpBankTransferPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Japanese bank transfer payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2047,10 +1894,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about KakaoPayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Kakao Pay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2105,10 +1949,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about KlarnaPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Klarna payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2163,10 +2004,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about KonbiniPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Konbini convenience store payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2221,10 +2059,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about KrCardPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Korean card payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2279,10 +2114,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about LinkPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Link payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2336,10 +2168,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about MobilepayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process MobilePay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2394,10 +2223,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about MultibancoPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Multibanco payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2452,10 +2278,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about MxBankTransferPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Mexican bank transfer payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2510,10 +2333,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about NaverPayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Naver Pay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2568,10 +2388,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about OxxoPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process OXXO payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2625,10 +2442,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about P24Payments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Przelewy24 (P24) payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2682,10 +2496,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about PayByBankPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Pay by Bank payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2740,10 +2551,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about PaycoPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process PAYCO payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2798,10 +2606,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about PaynowPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process PayNow payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2856,10 +2661,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about PromptpayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process PromptPay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2914,10 +2716,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about RevolutPayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Revolut Pay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -2972,10 +2771,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about SamsungPayPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Samsung Pay payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3030,10 +2826,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about SepaBankTransferPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process SEPA bank transfer payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3088,10 +2881,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about SepaDebitPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process SEPA Direct Debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3146,10 +2936,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about StripeBalance, please refer to the API Reference.
- */
+ /** Capabilities that enable the merchant to manage their Stripe Balance (/v1/balance). */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3158,10 +2945,7 @@ public static class StripeBalance extends StripeObject {
@SerializedName("payouts")
Payouts payouts;
- /**
- * For more details about Payouts, please refer to the API Reference.
- */
+ /** Allows the account to do payouts using their Stripe Balance (/v1/balance). */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3218,10 +3002,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about SwishPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Swish payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3276,10 +3057,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about TwintPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process TWINT payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3334,10 +3112,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about UsBankTransferPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process US bank transfer payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3392,10 +3167,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about ZipPayments, please refer to the API Reference.
- */
+ /** Allow the merchant to process Zip payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3450,10 +3222,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about CardPayments, please refer to the API Reference.
- */
+ /** Card payments settings. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3466,8 +3235,8 @@ public static class CardPayments extends StripeObject {
DeclineOn declineOn;
/**
- * For more details about DeclineOn, please refer to the API Reference.
+ * Automatically declines certain charge types regardless of whether the card issuer
+ * accepted or declined the charge.
*/
@Getter
@Setter
@@ -3490,10 +3259,7 @@ public static class DeclineOn extends StripeObject {
}
}
- /**
- * For more details about SepaDebitPayments, please refer to the API Reference.
- */
+ /** Settings used for SEPA debit payments. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3503,10 +3269,7 @@ public static class SepaDebitPayments extends StripeObject {
String creditorId;
}
- /**
- * For more details about StatementDescriptor, please refer to the API Reference.
- */
+ /** Statement descriptor. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3535,10 +3298,7 @@ public static class StatementDescriptor extends StripeObject {
String prefix;
}
- /**
- * For more details about Support, please refer to the API Reference.
- */
+ /** Publicly available contact information for sending support issues to. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3559,10 +3319,7 @@ public static class Support extends StripeObject {
@SerializedName("url")
String url;
- /**
- * For more details about Address, please refer to the API Reference.
- */
+ /** A publicly available mailing address for sending support issues to. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3574,43 +3331,6 @@ public static class Address extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -3638,10 +3358,7 @@ public static class Address extends StripeObject {
}
}
- /**
- * For more details about Recipient, please refer to the API Reference.
- */
+ /** The Recipient Configuration allows the Account to receive funds. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3664,10 +3381,7 @@ public static class Recipient extends StripeObject {
@SerializedName("default_outbound_destination")
DefaultOutboundDestination defaultOutboundDestination;
- /**
- * For more details about Capabilities, please refer to the API Reference.
- */
+ /** Capabilities that have been requested on the Recipient Configuration. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3684,10 +3398,7 @@ public static class Capabilities extends StripeObject {
@SerializedName("stripe_balance")
StripeBalance stripeBalance;
- /**
- * For more details about BankAccounts, please refer to the API Reference.
- */
+ /** Capabilities that enable OutboundPayments to a bank account linked to this Account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3704,8 +3415,8 @@ public static class BankAccounts extends StripeObject {
Wire wire;
/**
- * For more details about Local, please refer to the API Reference.
+ * Enables this Account to receive OutboundPayments to linked bank accounts over local
+ * networks.
*/
@Getter
@Setter
@@ -3762,10 +3473,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about Wire, please refer to the API Reference.
- */
+ /** Enables this Account to receive OutboundPayments to linked bank accounts over wire. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3822,10 +3530,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about Cards, please refer to the API Reference.
- */
+ /** Capability that enable OutboundPayments to a debit card linked to this Account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3879,10 +3584,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about StripeBalance, please refer to the API Reference.
- */
+ /** Capabilities that enable the recipient to manage their Stripe Balance (/v1/balance). */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3897,10 +3599,7 @@ public static class StripeBalance extends StripeObject {
@SerializedName("stripe_transfers")
StripeTransfers stripeTransfers;
- /**
- * For more details about Payouts, please refer to the API Reference.
- */
+ /** Allows the account to do payouts using their Stripe Balance (/v1/balance). */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -3957,8 +3656,7 @@ public static class StatusDetail extends StripeObject {
}
/**
- * For more details about StripeTransfers, please refer to the API Reference.
+ * Allows the account to receive /v1/transfers into their Stripe Balance (/v1/balance).
*/
@Getter
@Setter
@@ -4020,8 +3718,8 @@ public static class StatusDetail extends StripeObject {
}
/**
- * For more details about DefaultOutboundDestination, please refer to the API Reference.
+ * The payout method to be used as a default outbound destination. This will allow the
+ * PayoutMethod to be omitted on OutboundPayments made through the dashboard.
*/
@Getter
@Setter
@@ -4062,8 +3760,8 @@ public static class DefaultOutboundDestination extends StripeObject implements H
}
/**
- * For more details about Storer, please refer to the API
- * Reference.
+ * The Storer Configuration allows the Account to store and move funds using stored-value
+ * FinancialAccounts.
*/
@Getter
@Setter
@@ -4080,10 +3778,7 @@ public static class Storer extends StripeObject {
@SerializedName("capabilities")
Capabilities capabilities;
- /**
- * For more details about Capabilities, please refer to the API Reference.
- */
+ /** Capabilities that have been requested on the Storer Configuration. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4108,10 +3803,7 @@ public static class Capabilities extends StripeObject {
@SerializedName("outbound_transfers")
OutboundTransfers outboundTransfers;
- /**
- * For more details about FinancialAddresses, please refer to the API Reference.
- */
+ /** Can provision a financial address to credit/debit a FinancialAccount. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4124,8 +3816,8 @@ public static class FinancialAddresses extends StripeObject {
BankAccounts bankAccounts;
/**
- * For more details about BankAccounts, please refer to the API Reference.
+ * Can provision a bank-account like financial address (VBAN) to credit/debit a
+ * FinancialAccount.
*/
@Getter
@Setter
@@ -4185,10 +3877,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about HoldsCurrencies, please refer to the API Reference.
- */
+ /** Can hold storage-type funds on Stripe. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4197,10 +3886,7 @@ public static class HoldsCurrencies extends StripeObject {
@SerializedName("gbp")
Gbp gbp;
- /**
- * For more details about Gbp, please refer to the API Reference.
- */
+ /** Can hold storage-type funds on Stripe in GBP. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4257,10 +3943,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about InboundTransfers, please refer to the API Reference.
- */
+ /** Can pull funds from an external source, owned by yourself, to a FinancialAccount. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4272,8 +3955,7 @@ public static class InboundTransfers extends StripeObject {
BankAccounts bankAccounts;
/**
- * For more details about BankAccounts, please refer to the API Reference.
+ * Can pull funds from an external bank account, owned by yourself, to a FinancialAccount.
*/
@Getter
@Setter
@@ -4333,10 +4015,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about OutboundPayments, please refer to the API Reference.
- */
+ /** Can send funds from a FinancialAccount to a destination owned by someone else. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4356,10 +4035,7 @@ public static class OutboundPayments extends StripeObject {
@SerializedName("financial_accounts")
FinancialAccounts financialAccounts;
- /**
- * For more details about BankAccounts, please refer to the API Reference.
- */
+ /** Can send funds from a FinancialAccount to a bank account, owned by someone else. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4417,10 +4093,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about Cards, please refer to the API Reference.
- */
+ /** Can send funds from a FinancialAccount to a debit card, owned by someone else. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4477,8 +4150,8 @@ public static class StatusDetail extends StripeObject {
}
/**
- * For more details about FinancialAccounts, please refer to the API Reference.
+ * Can send funds from a FinancialAccount to another FinancialAccount, owned by someone
+ * else.
*/
@Getter
@Setter
@@ -4538,10 +4211,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about OutboundTransfers, please refer to the API Reference.
- */
+ /** Can send funds from a FinancialAccount to a destination owned by yourself. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4556,10 +4226,7 @@ public static class OutboundTransfers extends StripeObject {
@SerializedName("financial_accounts")
FinancialAccounts financialAccounts;
- /**
- * For more details about BankAccounts, please refer to the API Reference.
- */
+ /** Can send funds from a FinancialAccount, to a bank account, owned by yourself. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4618,8 +4285,7 @@ public static class StatusDetail extends StripeObject {
}
/**
- * For more details about FinancialAccounts, please refer to the API Reference.
+ * Can send funds from a FinancialAccount to another FinancialAccount, owned by yourself.
*/
@Getter
@Setter
@@ -4682,10 +4348,7 @@ public static class StatusDetail extends StripeObject {
}
}
- /**
- * For more details about Defaults, please refer to the API
- * Reference.
- */
+ /** Default values to be used on Account Configurations. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4694,33 +4357,6 @@ public static class Defaults extends StripeObject {
* Three-letter ISO currency
* code, in lowercase. Must be a supported
* currency.
- *
- * One of {@code aed}, {@code afn}, {@code all}, {@code amd}, {@code ang}, {@code aoa},
- * {@code ars}, {@code aud}, {@code awg}, {@code azn}, {@code bam}, {@code bbd}, {@code bdt},
- * {@code bgn}, {@code bhd}, {@code bif}, {@code bmd}, {@code bnd}, {@code bob}, {@code bov},
- * {@code brl}, {@code bsd}, {@code btn}, {@code bwp}, {@code byn}, {@code byr}, {@code bzd},
- * {@code cad}, {@code cdf}, {@code che}, {@code chf}, {@code chw}, {@code clf}, {@code clp},
- * {@code cny}, {@code cop}, {@code cou}, {@code crc}, {@code cuc}, {@code cup}, {@code cve},
- * {@code czk}, {@code djf}, {@code dkk}, {@code dop}, {@code dzd}, {@code eek}, {@code egp},
- * {@code ern}, {@code etb}, {@code eur}, {@code fjd}, {@code fkp}, {@code gbp}, {@code gel},
- * {@code ghc}, {@code ghs}, {@code gip}, {@code gmd}, {@code gnf}, {@code gtq}, {@code gyd},
- * {@code hkd}, {@code hnl}, {@code hrk}, {@code htg}, {@code huf}, {@code idr}, {@code ils},
- * {@code inr}, {@code iqd}, {@code irr}, {@code isk}, {@code jmd}, {@code jod}, {@code jpy},
- * {@code kes}, {@code kgs}, {@code khr}, {@code kmf}, {@code kpw}, {@code krw}, {@code kwd},
- * {@code kyd}, {@code kzt}, {@code lak}, {@code lbp}, {@code lkr}, {@code lrd}, {@code lsl},
- * {@code ltl}, {@code lvl}, {@code lyd}, {@code mad}, {@code mdl}, {@code mga}, {@code mkd},
- * {@code mmk}, {@code mnt}, {@code mop}, {@code mro}, {@code mru}, {@code mur}, {@code mvr},
- * {@code mwk}, {@code mxn}, {@code mxv}, {@code myr}, {@code mzn}, {@code nad}, {@code ngn},
- * {@code nio}, {@code nok}, {@code npr}, {@code nzd}, {@code omr}, {@code pab}, {@code pen},
- * {@code pgk}, {@code php}, {@code pkr}, {@code pln}, {@code pyg}, {@code qar}, {@code ron},
- * {@code rsd}, {@code rub}, {@code rwf}, {@code sar}, {@code sbd}, {@code scr}, {@code sdg},
- * {@code sek}, {@code sgd}, {@code shp}, {@code sle}, {@code sll}, {@code sos}, {@code srd},
- * {@code ssp}, {@code std}, {@code stn}, {@code svc}, {@code syp}, {@code szl}, {@code thb},
- * {@code tjs}, {@code tmt}, {@code tnd}, {@code top}, {@code try}, {@code ttd}, {@code twd},
- * {@code tzs}, {@code uah}, {@code ugx}, {@code usd}, {@code usdb}, {@code usdc}, {@code usn},
- * {@code uyi}, {@code uyu}, {@code uzs}, {@code vef}, {@code ves}, {@code vnd}, {@code vuv},
- * {@code wst}, {@code xaf}, {@code xcd}, {@code xcg}, {@code xof}, {@code xpf}, {@code yer},
- * {@code zar}, {@code zmk}, {@code zmw}, {@code zwd}, {@code zwg}, or {@code zwl}.
*/
@SerializedName("currency")
String currency;
@@ -4733,10 +4369,7 @@ public static class Defaults extends StripeObject {
@SerializedName("responsibilities")
Responsibilities responsibilities;
- /**
- * For more details about Responsibilities, please refer to the API Reference.
- */
+ /** Default responsibilities held by either Stripe or the platform. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4761,10 +4394,7 @@ public static class Responsibilities extends StripeObject {
}
}
- /**
- * For more details about Identity, please refer to the API
- * Reference.
- */
+ /** Information about the company, individual, and business represented by the Account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4781,41 +4411,6 @@ public static class Identity extends StripeObject {
* The country in which the account holder resides, or in which the business is legally
* established. This should be an ISO
* 3166-1 alpha-2 country code.
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code am},
- * {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw}, {@code
- * ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code bg},
- * {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo}, {@code
- * bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code bz},
- * {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci}, {@code
- * ck}, {@code cl}, {@code cm}, {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code cv},
- * {@code cw}, {@code cx}, {@code cy}, {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code
- * dm}, {@code do}, {@code dz}, {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er},
- * {@code es}, {@code et}, {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code
- * fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh},
- * {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code
- * gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code
- * in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km}, {@code
- * kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code lb},
- * {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu}, {@code
- * lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code mg},
- * {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp}, {@code
- * mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code mx},
- * {@code my}, {@code mz}, {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code
- * ni}, {@code nl}, {@code no}, {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om},
- * {@code pa}, {@code pe}, {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code
- * pm}, {@code pn}, {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa},
- * {@code qz}, {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code
- * sb}, {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code
- * st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn}, {@code
- * to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua}, {@code ug},
- * {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve}, {@code
- * vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code ye},
- * {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -4836,10 +4431,7 @@ public static class Identity extends StripeObject {
@SerializedName("individual")
Individual individual;
- /**
- * For more details about Attestations, please refer to the API Reference.
- */
+ /** Attestations from the identity's key people, e.g. owners, executives, directors. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4867,8 +4459,8 @@ public static class Attestations extends StripeObject {
TermsOfService termsOfService;
/**
- * For more details about DirectorshipDeclaration, please refer to the API Reference.
+ * This hash is used to attest that the directors information provided to Stripe is both
+ * current and correct.
*/
@Getter
@Setter
@@ -4891,8 +4483,8 @@ public static class DirectorshipDeclaration extends StripeObject {
}
/**
- * For more details about OwnershipDeclaration, please refer to the API Reference.
+ * This hash is used to attest that the beneficial owner information provided to Stripe is
+ * both current and correct.
*/
@Getter
@Setter
@@ -4915,10 +4507,7 @@ public static class OwnershipDeclaration extends StripeObject {
String userAgent;
}
- /**
- * For more details about PersonsProvided, please refer to the API Reference.
- */
+ /** Attestation that all Persons with a specific Relationship value have been provided. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4957,10 +4546,7 @@ public static class PersonsProvided extends StripeObject {
String ownershipExemptionReason;
}
- /**
- * For more details about TermsOfService, please refer to the API Reference.
- */
+ /** Attestations of accepted terms of service agreements. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -4978,8 +4564,9 @@ public static class TermsOfService extends StripeObject {
Storer storer;
/**
- * For more details about InnerAccount, please refer to the API Reference.
+ * Details on the Account's acceptance of the Stripe Services
+ * Agreement.
*/
@Getter
@Setter
@@ -5007,10 +4594,7 @@ public static class InnerAccount extends StripeObject {
String userAgent;
}
- /**
- * For more details about Storer, please refer to the API Reference.
- */
+ /** Details on the Account's acceptance of Treasury-specific terms of service. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5039,10 +4623,7 @@ public static class Storer extends StripeObject {
}
}
- /**
- * For more details about BusinessDetails, please refer to the API Reference.
- */
+ /** Information about the company or business. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5068,7 +4649,7 @@ public static class BusinessDetails extends StripeObject {
* business.
*/
@SerializedName("estimated_worker_count")
- Integer estimatedWorkerCount;
+ Long estimatedWorkerCount;
/** The provided ID numbers of a business entity. */
@SerializedName("id_numbers")
@@ -5122,10 +4703,7 @@ public static class BusinessDetails extends StripeObject {
@SerializedName("url")
String url;
- /**
- * For more details about Address, please refer to the API Reference.
- */
+ /** The company’s primary address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5137,43 +4715,6 @@ public static class Address extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code
- * am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw},
- * {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf},
- * {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn},
- * {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw},
- * {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg},
- * {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn}, {@code co},
- * {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy}, {@code cz},
- * {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz}, {@code ec},
- * {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et}, {@code fi},
- * {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga}, {@code gb},
- * {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi}, {@code gl},
- * {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs}, {@code gt},
- * {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn}, {@code hr},
- * {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code in},
- * {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la},
- * {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt},
- * {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me},
- * {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn},
- * {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu},
- * {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na}, {@code nc},
- * {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no}, {@code np},
- * {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe}, {@code pf},
- * {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn}, {@code pr},
- * {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz}, {@code re},
- * {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb}, {@code sc},
- * {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj}, {@code sk},
- * {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code st},
- * {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn},
- * {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua},
- * {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc},
- * {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws},
- * {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -5199,10 +4740,7 @@ public static class Address extends StripeObject {
String town;
}
- /**
- * For more details about AnnualRevenue, please refer to the API Reference.
- */
+ /** The business gross annual revenue for its preceding fiscal year. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5219,10 +4757,7 @@ public static class AnnualRevenue extends StripeObject {
String fiscalYearEnd;
}
- /**
- * For more details about Documents, please refer to the API Reference.
- */
+ /** Documents that may be submitted to satisfy various informational requests. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5281,8 +4816,9 @@ public static class Documents extends StripeObject {
ProofOfUltimateBeneficialOwnership proofOfUltimateBeneficialOwnership;
/**
- * For more details about BankAccountOwnershipVerification, please refer to the API Reference.
+ * One or more documents that support the Bank account ownership verification requirement.
+ * Must be a document associated with the account’s primary active bank account that
+ * displays the last 4 digits of the account number, either a statement or a check.
*/
@Getter
@Setter
@@ -5305,10 +4841,7 @@ public static class BankAccountOwnershipVerification extends StripeObject {
String type;
}
- /**
- * For more details about CompanyLicense, please refer to the API Reference.
- */
+ /** One or more documents that demonstrate proof of a company’s license to operate. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5330,10 +4863,7 @@ public static class CompanyLicense extends StripeObject {
String type;
}
- /**
- * For more details about CompanyMemorandumOfAssociation, please refer to the API Reference.
- */
+ /** One or more documents showing the company’s Memorandum of Association. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5356,8 +4886,8 @@ public static class CompanyMemorandumOfAssociation extends StripeObject {
}
/**
- * For more details about CompanyMinisterialDecree, please refer to the API Reference.
+ * Certain countries only: One or more documents showing the ministerial decree legalizing
+ * the company’s establishment.
*/
@Getter
@Setter
@@ -5381,8 +4911,8 @@ public static class CompanyMinisterialDecree extends StripeObject {
}
/**
- * For more details about CompanyRegistrationVerification, please refer to the API Reference.
+ * One or more documents that demonstrate proof of a company’s registration with the
+ * appropriate local authorities.
*/
@Getter
@Setter
@@ -5405,10 +4935,7 @@ public static class CompanyRegistrationVerification extends StripeObject {
String type;
}
- /**
- * For more details about CompanyTaxIdVerification, please refer to the API Reference.
- */
+ /** One or more documents that demonstrate proof of a company’s tax ID. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5430,10 +4957,7 @@ public static class CompanyTaxIdVerification extends StripeObject {
String type;
}
- /**
- * For more details about PrimaryVerification, please refer to the API Reference.
- */
+ /** A document verifying the business. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5454,8 +4978,8 @@ public static class PrimaryVerification extends StripeObject {
String type;
/**
- * For more details about FrontBack, please refer to the API Reference.
+ * The file upload
+ * tokens for the front and back of the verification document.
*/
@Getter
@Setter
@@ -5483,10 +5007,7 @@ public static class FrontBack extends StripeObject {
}
}
- /**
- * For more details about ProofOfAddress, please refer to the API Reference.
- */
+ /** One or more documents that demonstrate proof of address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5509,8 +5030,8 @@ public static class ProofOfAddress extends StripeObject {
}
/**
- * For more details about ProofOfRegistration, please refer to the API Reference.
+ * One or more documents showing the company’s proof of registration with the national
+ * business registry.
*/
@Getter
@Setter
@@ -5533,10 +5054,7 @@ public static class ProofOfRegistration extends StripeObject {
String type;
}
- /**
- * For more details about ProofOfUltimateBeneficialOwnership, please refer to the API Reference.
- */
+ /** One or more documents that demonstrate proof of ultimate beneficial ownership. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5593,10 +5111,7 @@ public static class IdNumber extends StripeObject {
String type;
}
- /**
- * For more details about MonthlyEstimatedRevenue, please refer to the API Reference.
- */
+ /** An estimate of the monthly revenue of the business. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5606,10 +5121,7 @@ public static class MonthlyEstimatedRevenue extends StripeObject {
Amount amount;
}
- /**
- * For more details about ScriptAddresses, please refer to the API Reference.
- */
+ /** The business registration address of the business entity in non latin script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5622,10 +5134,7 @@ public static class ScriptAddresses extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API Reference.
- */
+ /** Kana Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5637,43 +5146,6 @@ public static class Kana extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -5699,10 +5171,7 @@ public static class Kana extends StripeObject {
String town;
}
- /**
- * For more details about Kanji, please refer to the API Reference.
- */
+ /** Kanji Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5714,43 +5183,6 @@ public static class Kanji extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -5777,10 +5209,7 @@ public static class Kanji extends StripeObject {
}
}
- /**
- * For more details about ScriptNames, please refer to the API Reference.
- */
+ /** The business legal name in non latin script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5793,10 +5222,7 @@ public static class ScriptNames extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API Reference.
- */
+ /** Kana name. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5806,10 +5232,7 @@ public static class Kana extends StripeObject {
String registeredName;
}
- /**
- * For more details about Kanji, please refer to the API Reference.
- */
+ /** Kanji name. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -5822,8 +5245,8 @@ public static class Kanji extends StripeObject {
}
/**
- * For more details about Individual, please refer to the API Reference.
+ * Information about the individual represented by the Account. This property is {@code null}
+ * unless {@code entity_type} is set to {@code individual}.
*/
@Getter
@Setter
@@ -5957,43 +5380,6 @@ public static class AdditionalAddress extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code
- * am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw},
- * {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf},
- * {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn},
- * {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw},
- * {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg},
- * {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn}, {@code co},
- * {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy}, {@code cz},
- * {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz}, {@code ec},
- * {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et}, {@code fi},
- * {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga}, {@code gb},
- * {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi}, {@code gl},
- * {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs}, {@code gt},
- * {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn}, {@code hr},
- * {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code in},
- * {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la},
- * {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt},
- * {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me},
- * {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn},
- * {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu},
- * {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na}, {@code nc},
- * {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no}, {@code np},
- * {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe}, {@code pf},
- * {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn}, {@code pr},
- * {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz}, {@code re},
- * {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb}, {@code sc},
- * {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj}, {@code sk},
- * {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code st},
- * {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn},
- * {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua},
- * {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc},
- * {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws},
- * {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -6056,10 +5442,7 @@ public static class AdditionalName extends StripeObject {
String surname;
}
- /**
- * For more details about AdditionalTermsOfService, please refer to the API Reference.
- */
+ /** Terms of service acceptances. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6068,10 +5451,7 @@ public static class AdditionalTermsOfService extends StripeObject {
@SerializedName("account")
InnerAccount account;
- /**
- * For more details about InnerAccount, please refer to the API Reference.
- */
+ /** Stripe terms of service agreement. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6099,10 +5479,7 @@ public static class InnerAccount extends StripeObject {
}
}
- /**
- * For more details about Address, please refer to the API Reference.
- */
+ /** The individual's residential address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6114,43 +5491,6 @@ public static class Address extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code
- * am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw},
- * {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf},
- * {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn},
- * {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw},
- * {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg},
- * {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn}, {@code co},
- * {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy}, {@code cz},
- * {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz}, {@code ec},
- * {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et}, {@code fi},
- * {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga}, {@code gb},
- * {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi}, {@code gl},
- * {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs}, {@code gt},
- * {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn}, {@code hr},
- * {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code in},
- * {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la},
- * {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt},
- * {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me},
- * {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn},
- * {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu},
- * {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na}, {@code nc},
- * {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no}, {@code np},
- * {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe}, {@code pf},
- * {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn}, {@code pr},
- * {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz}, {@code re},
- * {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb}, {@code sc},
- * {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj}, {@code sk},
- * {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code st},
- * {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn},
- * {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua},
- * {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc},
- * {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws},
- * {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -6176,31 +5516,25 @@ public static class Address extends StripeObject {
String town;
}
- /**
- * For more details about DateOfBirth, please refer to the API Reference.
- */
+ /** The individual's date of birth. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class DateOfBirth extends StripeObject {
/** The day of birth, between 1 and 31. */
@SerializedName("day")
- Integer day;
+ Long day;
/** The month of birth, between 1 and 12. */
@SerializedName("month")
- Integer month;
+ Long month;
/** The four-digit year of birth. */
@SerializedName("year")
- Integer year;
+ Long year;
}
- /**
- * For more details about Documents, please refer to the API Reference.
- */
+ /** Documents that may be submitted to satisfy various informational requests. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6239,8 +5573,8 @@ public static class Documents extends StripeObject {
Visa visa;
/**
- * For more details about CompanyAuthorization, please refer to the API Reference.
+ * One or more documents that demonstrate proof that this person is authorized to represent
+ * the company.
*/
@Getter
@Setter
@@ -6264,8 +5598,7 @@ public static class CompanyAuthorization extends StripeObject {
}
/**
- * For more details about Passport, please refer to the API Reference.
+ * One or more documents showing the person’s passport page with photo and personal data.
*/
@Getter
@Setter
@@ -6289,8 +5622,7 @@ public static class Passport extends StripeObject {
}
/**
- * For more details about PrimaryVerification, please refer to the API Reference.
+ * An identifying document showing the person's name, either a passport or local ID card.
*/
@Getter
@Setter
@@ -6312,8 +5644,8 @@ public static class PrimaryVerification extends StripeObject {
String type;
/**
- * For more details about FrontBack, please refer to the API Reference.
+ * The file upload
+ * tokens for the front and back of the verification document.
*/
@Getter
@Setter
@@ -6342,8 +5674,8 @@ public static class FrontBack extends StripeObject {
}
/**
- * For more details about SecondaryVerification, please refer to the API Reference.
+ * A document showing address, either a passport, local ID card, or utility bill from a
+ * well-known utility company.
*/
@Getter
@Setter
@@ -6365,8 +5697,8 @@ public static class SecondaryVerification extends StripeObject {
String type;
/**
- * For more details about FrontBack, please refer to the API Reference.
+ * The file upload
+ * tokens for the front and back of the verification document.
*/
@Getter
@Setter
@@ -6395,8 +5727,8 @@ public static class FrontBack extends StripeObject {
}
/**
- * For more details about Visa, please refer to the API Reference.
+ * One or more documents showing the person’s visa required for living in the country where
+ * they are residing.
*/
@Getter
@Setter
@@ -6443,10 +5775,7 @@ public static class IdNumber extends StripeObject {
String type;
}
- /**
- * For more details about Relationship, please refer to the API Reference.
- */
+ /** The relationship that this individual has with the Account's identity. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6480,7 +5809,7 @@ public static class Relationship extends StripeObject {
/** The percent owned by the individual of the Account’s legal entity. */
@SerializedName("percent_ownership")
- String percentOwnership;
+ BigDecimal percentOwnership;
/**
* Whether the individual is authorized as the primary representative of the Account. This
@@ -6497,10 +5826,7 @@ public static class Relationship extends StripeObject {
String title;
}
- /**
- * For more details about ScriptAddresses, please refer to the API Reference.
- */
+ /** The script addresses (e.g., non-Latin characters) associated with the individual. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6513,10 +5839,7 @@ public static class ScriptAddresses extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API Reference.
- */
+ /** Kana Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6528,43 +5851,6 @@ public static class Kana extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -6590,10 +5876,7 @@ public static class Kana extends StripeObject {
String town;
}
- /**
- * For more details about Kanji, please refer to the API Reference.
- */
+ /** Kanji Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6605,43 +5888,6 @@ public static class Kanji extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al},
- * {@code am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au},
- * {@code aw}, {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be},
- * {@code bf}, {@code bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm},
- * {@code bn}, {@code bo}, {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv},
- * {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf},
- * {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm}, {@code cn},
- * {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz},
- * {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et},
- * {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga},
- * {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh}, {@code gi},
- * {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code gs},
- * {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki},
- * {@code km}, {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz},
- * {@code la}, {@code lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls},
- * {@code lt}, {@code lu}, {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md},
- * {@code me}, {@code mf}, {@code mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm},
- * {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr}, {@code ms}, {@code mt},
- * {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz}, {@code na},
- * {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe},
- * {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn},
- * {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz},
- * {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code sb},
- * {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td},
- * {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz},
- * {@code ua}, {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va},
- * {@code vc}, {@code ve}, {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf},
- * {@code ws}, {@code xx}, {@code ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -6668,10 +5914,7 @@ public static class Kanji extends StripeObject {
}
}
- /**
- * For more details about ScriptNames, please refer to the API Reference.
- */
+ /** The script names (e.g. non-Latin characters) associated with the individual. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6684,10 +5927,7 @@ public static class ScriptNames extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API Reference.
- */
+ /** Persons name in kana script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6701,10 +5941,7 @@ public static class Kana extends StripeObject {
String surname;
}
- /**
- * For more details about Kanji, please refer to the API Reference.
- */
+ /** Persons name in kanji script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6722,8 +5959,8 @@ public static class Kanji extends StripeObject {
}
/**
- * For more details about Requirements, please refer to the API Reference.
+ * Information about the requirements for the Account, including what information needs to be
+ * collected, and by when.
*/
@Getter
@Setter
@@ -6872,8 +6109,8 @@ public static class Errors extends StripeObject {
}
/**
- * For more details about Impact, please refer to the API Reference.
+ * A hash describing the impact of not collecting the requirement, or Stripe not being able to
+ * verify the collected information.
*/
@Getter
@Setter
@@ -6940,8 +6177,8 @@ public static class RestrictsCapability extends StripeObject {
Deadline deadline;
/**
- * For more details about Deadline, please refer to the API Reference.
+ * Details about when in the account lifecycle the requirement must be collected by the
+ * avoid the Capability restriction.
*/
@Getter
@Setter
@@ -6958,10 +6195,7 @@ public static class Deadline extends StripeObject {
}
}
- /**
- * For more details about MinimumDeadline, please refer to the API Reference.
- */
+ /** The soonest point when the account will be impacted by not providing the requirement. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -6975,10 +6209,7 @@ public static class MinimumDeadline extends StripeObject {
String status;
}
- /**
- * For more details about Reference, please refer to the API Reference.
- */
+ /** A reference to the location of the requirement. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -7020,10 +6251,7 @@ public static class RequestedReason extends StripeObject {
}
}
- /**
- * For more details about Summary, please refer to the API
- * Reference.
- */
+ /** An object containing an overview of requirements for the Account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -7037,8 +6265,9 @@ public static class Summary extends StripeObject {
MinimumDeadline minimumDeadline;
/**
- * For more details about MinimumDeadline, please refer to the API Reference.
+ * The soonest date and time a requirement on the Account will become {@code past due}.
+ * Represented as a RFC 3339 date & time UTC value in millisecond precision, for example:
+ * {@code 2022-09-18T13:22:18.123Z}.
*/
@Getter
@Setter
diff --git a/src/main/java/com/stripe/model/v2/core/AccountLink.java b/src/main/java/com/stripe/model/v2/core/AccountLink.java
index 823215608ea..7931531ede8 100644
--- a/src/main/java/com/stripe/model/v2/core/AccountLink.java
+++ b/src/main/java/com/stripe/model/v2/core/AccountLink.java
@@ -9,6 +9,11 @@
import lombok.Getter;
import lombok.Setter;
+/**
+ * AccountLinks are the means by which a Merchant grants an Account permission to access
+ * Stripe-hosted applications, such as Recipient Onboarding. This API is only available for users
+ * enrolled in the public preview for Accounts v2.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -49,10 +54,7 @@ public class AccountLink extends StripeObject {
@SerializedName("use_case")
UseCase useCase;
- /**
- * For more details about UseCase, please refer to the API
- * Reference.
- */
+ /** The use case of AccountLink the user is requesting. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -73,10 +75,7 @@ public static class UseCase extends StripeObject {
@SerializedName("type")
String type;
- /**
- * For more details about AccountOnboarding, please refer to the API Reference.
- */
+ /** Indicates that the AccountLink provided should onboard an account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -113,8 +112,8 @@ public static class AccountOnboarding extends StripeObject {
String returnUrl;
/**
- * For more details about CollectionOptions, please refer to the API Reference.
+ * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding
+ * flow.
*/
@Getter
@Setter
@@ -142,10 +141,7 @@ public static class CollectionOptions extends StripeObject {
}
}
- /**
- * For more details about AccountUpdate, please refer to the API Reference.
- */
+ /** Indicates that the AccountLink provided should update a previously onboarded account. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -182,8 +178,8 @@ public static class AccountUpdate extends StripeObject {
String returnUrl;
/**
- * For more details about CollectionOptions, please refer to the API Reference.
+ * Specifies the requirements that Stripe collects from v2/core/accounts in the Onboarding
+ * flow.
*/
@Getter
@Setter
diff --git a/src/main/java/com/stripe/model/v2/core/Person.java b/src/main/java/com/stripe/model/v2/core/AccountPerson.java
similarity index 55%
rename from src/main/java/com/stripe/model/v2/core/Person.java
rename to src/main/java/com/stripe/model/v2/core/AccountPerson.java
index f1e0ef3ed81..b12b4e33a60 100644
--- a/src/main/java/com/stripe/model/v2/core/Person.java
+++ b/src/main/java/com/stripe/model/v2/core/AccountPerson.java
@@ -4,6 +4,7 @@
import com.google.gson.annotations.SerializedName;
import com.stripe.model.HasId;
import com.stripe.model.StripeObject;
+import java.math.BigDecimal;
import java.time.Instant;
import java.util.List;
import java.util.Map;
@@ -11,21 +12,22 @@
import lombok.Getter;
import lombok.Setter;
+/** Person retrieval response schema. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
-public class Person extends StripeObject implements HasId {
+public class AccountPerson extends StripeObject implements HasId {
/** The account ID which the individual belongs to. */
@SerializedName("account")
String account;
/** Additional addresses associated with the person. */
@SerializedName("additional_addresses")
- List One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code am},
- * {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw}, {@code
- * ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code bg},
- * {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo}, {@code
- * bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code bz},
- * {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci}, {@code
- * ck}, {@code cl}, {@code cm}, {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code cv},
- * {@code cw}, {@code cx}, {@code cy}, {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code
- * dm}, {@code do}, {@code dz}, {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er},
- * {@code es}, {@code et}, {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code
- * fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh},
- * {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code
- * gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code
- * in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km}, {@code
- * kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code lb},
- * {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu}, {@code
- * lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code mg},
- * {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp}, {@code
- * mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code mx},
- * {@code my}, {@code mz}, {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code
- * ni}, {@code nl}, {@code no}, {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om},
- * {@code pa}, {@code pe}, {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code
- * pm}, {@code pn}, {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa},
- * {@code qz}, {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code
- * sb}, {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code
- * st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn}, {@code
- * to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua}, {@code ug},
- * {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve}, {@code
- * vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code ye},
- * {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -253,10 +220,7 @@ public static class AdditionalName extends StripeObject {
String surname;
}
- /**
- * For more details about AdditionalTermsOfService, please refer to the API Reference.
- */
+ /** Attestations of accepted terms of service agreements. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -265,10 +229,7 @@ public static class AdditionalTermsOfService extends StripeObject {
@SerializedName("account")
Account account;
- /**
- * For more details about Account, please refer to the API
- * Reference.
- */
+ /** Stripe terms of service agreement. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -294,10 +255,7 @@ public static class Account extends StripeObject {
}
}
- /**
- * For more details about Address, please refer to the API
- * Reference.
- */
+ /** The person's residential address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -309,41 +267,6 @@ public static class Address extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code am},
- * {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw}, {@code
- * ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code bg},
- * {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo}, {@code
- * bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code bz},
- * {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci}, {@code
- * ck}, {@code cl}, {@code cm}, {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code cv},
- * {@code cw}, {@code cx}, {@code cy}, {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code
- * dm}, {@code do}, {@code dz}, {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code er},
- * {@code es}, {@code et}, {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo}, {@code
- * fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code gh},
- * {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr}, {@code
- * gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code hn},
- * {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im}, {@code
- * in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code jm},
- * {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km}, {@code
- * kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code lb},
- * {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu}, {@code
- * lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code mg},
- * {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp}, {@code
- * mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code mx},
- * {@code my}, {@code mz}, {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code
- * ni}, {@code nl}, {@code no}, {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om},
- * {@code pa}, {@code pe}, {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code
- * pm}, {@code pn}, {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code qa},
- * {@code qz}, {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa}, {@code
- * sb}, {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code sj},
- * {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss}, {@code
- * st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code tf},
- * {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn}, {@code
- * to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua}, {@code ug},
- * {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve}, {@code
- * vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code ye},
- * {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -369,31 +292,25 @@ public static class Address extends StripeObject {
String town;
}
- /**
- * For more details about DateOfBirth, please refer to the API Reference.
- */
+ /** The person's date of birth. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
public static class DateOfBirth extends StripeObject {
/** The day of birth, between 1 and 31. */
@SerializedName("day")
- Integer day;
+ Long day;
/** The month of birth, between 1 and 12. */
@SerializedName("month")
- Integer month;
+ Long month;
/** The four-digit year of birth. */
@SerializedName("year")
- Integer year;
+ Long year;
}
- /**
- * For more details about Documents, please refer to the API
- * Reference.
- */
+ /** Documents that may be submitted to satisfy various informational requests. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -428,8 +345,8 @@ public static class Documents extends StripeObject {
Visa visa;
/**
- * For more details about CompanyAuthorization, please refer to the API Reference.
+ * One or more documents that demonstrate proof that this person is authorized to represent the
+ * company.
*/
@Getter
@Setter
@@ -452,10 +369,7 @@ public static class CompanyAuthorization extends StripeObject {
String type;
}
- /**
- * For more details about Passport, please refer to the API Reference.
- */
+ /** One or more documents showing the person’s passport page with photo and personal data. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -477,10 +391,7 @@ public static class Passport extends StripeObject {
String type;
}
- /**
- * For more details about PrimaryVerification, please refer to the API Reference.
- */
+ /** An identifying document showing the person's name, either a passport or local ID card. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -501,8 +412,8 @@ public static class PrimaryVerification extends StripeObject {
String type;
/**
- * For more details about FrontBack, please refer to the API Reference.
+ * The file upload tokens
+ * for the front and back of the verification document.
*/
@Getter
@Setter
@@ -529,8 +440,8 @@ public static class FrontBack extends StripeObject {
}
/**
- * For more details about SecondaryVerification, please refer to the API Reference.
+ * A document showing address, either a passport, local ID card, or utility bill from a
+ * well-known utility company.
*/
@Getter
@Setter
@@ -552,8 +463,8 @@ public static class SecondaryVerification extends StripeObject {
String type;
/**
- * For more details about FrontBack, please refer to the API Reference.
+ * The file upload tokens
+ * for the front and back of the verification document.
*/
@Getter
@Setter
@@ -580,8 +491,8 @@ public static class FrontBack extends StripeObject {
}
/**
- * For more details about Visa, please refer to the API
- * Reference.
+ * One or more documents showing the person’s visa required for living in the country where they
+ * are residing.
*/
@Getter
@Setter
@@ -627,10 +538,7 @@ public static class IdNumber extends StripeObject {
String type;
}
- /**
- * For more details about Relationship, please refer to the API Reference.
- */
+ /** The relationship that this person has with the Account's business or legal entity. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -664,7 +572,7 @@ public static class Relationship extends StripeObject {
/** The percent owned by the individual of the Account’s legal entity. */
@SerializedName("percent_ownership")
- String percentOwnership;
+ BigDecimal percentOwnership;
/**
* Whether the individual is authorized as the primary representative of the Account. This is
@@ -681,10 +589,7 @@ public static class Relationship extends StripeObject {
String title;
}
- /**
- * For more details about ScriptAddresses, please refer to the API Reference.
- */
+ /** The script addresses (e.g., non-Latin characters) associated with the person. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -697,10 +602,7 @@ public static class ScriptAddresses extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API
- * Reference.
- */
+ /** Kana Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -712,41 +614,6 @@ public static class Kana extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code
- * am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw},
- * {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code
- * bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo},
- * {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code
- * bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci},
- * {@code ck}, {@code cl}, {@code cm}, {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code
- * cv}, {@code cw}, {@code cx}, {@code cy}, {@code cz}, {@code de}, {@code dj}, {@code dk},
- * {@code dm}, {@code do}, {@code dz}, {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code
- * er}, {@code es}, {@code et}, {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo},
- * {@code fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code
- * gh}, {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr},
- * {@code gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code
- * hn}, {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code
- * jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code
- * lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu},
- * {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code
- * mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp},
- * {@code mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code
- * mx}, {@code my}, {@code mz}, {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng},
- * {@code ni}, {@code nl}, {@code no}, {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code
- * om}, {@code pa}, {@code pe}, {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl},
- * {@code pm}, {@code pn}, {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code
- * qa}, {@code qz}, {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa},
- * {@code sb}, {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code
- * sj}, {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code
- * tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn},
- * {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua}, {@code
- * ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve},
- * {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code
- * ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -772,10 +639,7 @@ public static class Kana extends StripeObject {
String town;
}
- /**
- * For more details about Kanji, please refer to the API
- * Reference.
- */
+ /** Kanji Address. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -787,41 +651,6 @@ public static class Kanji extends StripeObject {
/**
* Two-letter country code (ISO
* 3166-1 alpha-2).
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code
- * am}, {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw},
- * {@code ax}, {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code
- * bg}, {@code bh}, {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo},
- * {@code bq}, {@code br}, {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code
- * bz}, {@code ca}, {@code cc}, {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci},
- * {@code ck}, {@code cl}, {@code cm}, {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code
- * cv}, {@code cw}, {@code cx}, {@code cy}, {@code cz}, {@code de}, {@code dj}, {@code dk},
- * {@code dm}, {@code do}, {@code dz}, {@code ec}, {@code ee}, {@code eg}, {@code eh}, {@code
- * er}, {@code es}, {@code et}, {@code fi}, {@code fj}, {@code fk}, {@code fm}, {@code fo},
- * {@code fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge}, {@code gf}, {@code gg}, {@code
- * gh}, {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp}, {@code gq}, {@code gr},
- * {@code gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk}, {@code hm}, {@code
- * hn}, {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il}, {@code im},
- * {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je}, {@code
- * jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code
- * lb}, {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu},
- * {@code lv}, {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code
- * mg}, {@code mh}, {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp},
- * {@code mq}, {@code mr}, {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code
- * mx}, {@code my}, {@code mz}, {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng},
- * {@code ni}, {@code nl}, {@code no}, {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code
- * om}, {@code pa}, {@code pe}, {@code pf}, {@code pg}, {@code ph}, {@code pk}, {@code pl},
- * {@code pm}, {@code pn}, {@code pr}, {@code ps}, {@code pt}, {@code pw}, {@code py}, {@code
- * qa}, {@code qz}, {@code re}, {@code ro}, {@code rs}, {@code ru}, {@code rw}, {@code sa},
- * {@code sb}, {@code sc}, {@code sd}, {@code se}, {@code sg}, {@code sh}, {@code si}, {@code
- * sj}, {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so}, {@code sr}, {@code ss},
- * {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc}, {@code td}, {@code
- * tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm}, {@code tn},
- * {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua}, {@code
- * ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve},
- * {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code
- * ye}, {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -848,10 +677,7 @@ public static class Kanji extends StripeObject {
}
}
- /**
- * For more details about ScriptNames, please refer to the API Reference.
- */
+ /** The script names (e.g. non-Latin characters) associated with the person. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -864,10 +690,7 @@ public static class ScriptNames extends StripeObject {
@SerializedName("kanji")
Kanji kanji;
- /**
- * For more details about Kana, please refer to the API
- * Reference.
- */
+ /** Persons name in kana script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -881,10 +704,7 @@ public static class Kana extends StripeObject {
String surname;
}
- /**
- * For more details about Kanji, please refer to the API
- * Reference.
- */
+ /** Persons name in kanji script. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
diff --git a/src/main/java/com/stripe/model/v2/core/vault/GbBankAccount.java b/src/main/java/com/stripe/model/v2/core/vault/GbBankAccount.java
index cd42c22e8c9..766317d0182 100644
--- a/src/main/java/com/stripe/model/v2/core/vault/GbBankAccount.java
+++ b/src/main/java/com/stripe/model/v2/core/vault/GbBankAccount.java
@@ -9,6 +9,7 @@
import lombok.Getter;
import lombok.Setter;
+/** Use the GBBankAccounts API to create and manage GB bank account objects. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -76,8 +77,9 @@ public class GbBankAccount extends StripeObject implements HasId {
String sortCode;
/**
- * For more details about ConfirmationOfPayee, please refer to the API Reference.
+ * Information around the status of Confirmation of Payee matching done on this bank account.
+ * Confirmation of Payee is a name matching service that must be done before making
+ * OutboundPayments in the UK.
*/
@Getter
@Setter
@@ -99,8 +101,8 @@ public static class ConfirmationOfPayee extends StripeObject {
String status;
/**
- * For more details about Result, please refer to the API
- * Reference.
+ * The result of the Confirmation of Payee check, once the check has been initiated. Closed
+ * enum.
*/
@Getter
@Setter
@@ -135,8 +137,8 @@ public static class Result extends StripeObject {
Provided provided;
/**
- * For more details about Matched, please refer to the API Reference.
+ * The fields that CoP service matched against. Only has value if MATCH or PARTIAL_MATCH,
+ * empty otherwise.
*/
@Getter
@Setter
@@ -156,10 +158,7 @@ public static class Matched extends StripeObject {
String name;
}
- /**
- * For more details about Provided, please refer to the API Reference.
- */
+ /** The fields that are matched against what the network has on file. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
diff --git a/src/main/java/com/stripe/model/v2/core/vault/UsBankAccount.java b/src/main/java/com/stripe/model/v2/core/vault/UsBankAccount.java
index a583e26ac7b..a2ac614c1c3 100644
--- a/src/main/java/com/stripe/model/v2/core/vault/UsBankAccount.java
+++ b/src/main/java/com/stripe/model/v2/core/vault/UsBankAccount.java
@@ -9,6 +9,10 @@
import lombok.Getter;
import lombok.Setter;
+/**
+ * Use the USBankAccounts API to create and manage US bank accounts objects that you can use to
+ * receive funds. Note that these are not interchangeable with v1 Tokens.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
diff --git a/src/main/java/com/stripe/model/v2/moneymanagement/Adjustment.java b/src/main/java/com/stripe/model/v2/moneymanagement/Adjustment.java
index e980bd50602..6c3003f3991 100644
--- a/src/main/java/com/stripe/model/v2/moneymanagement/Adjustment.java
+++ b/src/main/java/com/stripe/model/v2/moneymanagement/Adjustment.java
@@ -10,6 +10,10 @@
import lombok.Getter;
import lombok.Setter;
+/**
+ * Adjustments represent Stripe-initiated credits or debits to a user balance. They might be used to
+ * amend balances due to technical or operational error.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -67,10 +71,7 @@ public class Adjustment extends StripeObject implements HasId {
@SerializedName("receipt_url")
String receiptUrl;
- /**
- * For more details about AdjustedFlow, please refer to the API Reference.
- */
+ /** If applicable, contains information about the original flow linked to this Adjustment. */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
diff --git a/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAccount.java b/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAccount.java
index 803eb31723f..a6777cc90a9 100644
--- a/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAccount.java
+++ b/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAccount.java
@@ -12,6 +12,10 @@
import lombok.Getter;
import lombok.Setter;
+/**
+ * A FinancialAccount represents a balance and can be used as the source or destination for the
+ * money management ({@code /v2/money_management}) APIs.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -27,39 +31,6 @@ public class FinancialAccount extends StripeObject implements HasId {
/**
* Open Enum. Two-letter country code that represents the country where the LegalEntity associated
* with the FinancialAccount is based in.
- *
- * One of {@code ad}, {@code ae}, {@code af}, {@code ag}, {@code ai}, {@code al}, {@code am},
- * {@code ao}, {@code aq}, {@code ar}, {@code as}, {@code at}, {@code au}, {@code aw}, {@code ax},
- * {@code az}, {@code ba}, {@code bb}, {@code bd}, {@code be}, {@code bf}, {@code bg}, {@code bh},
- * {@code bi}, {@code bj}, {@code bl}, {@code bm}, {@code bn}, {@code bo}, {@code bq}, {@code br},
- * {@code bs}, {@code bt}, {@code bv}, {@code bw}, {@code by}, {@code bz}, {@code ca}, {@code cc},
- * {@code cd}, {@code cf}, {@code cg}, {@code ch}, {@code ci}, {@code ck}, {@code cl}, {@code cm},
- * {@code cn}, {@code co}, {@code cr}, {@code cu}, {@code cv}, {@code cw}, {@code cx}, {@code cy},
- * {@code cz}, {@code de}, {@code dj}, {@code dk}, {@code dm}, {@code do}, {@code dz}, {@code ec},
- * {@code ee}, {@code eg}, {@code eh}, {@code er}, {@code es}, {@code et}, {@code fi}, {@code fj},
- * {@code fk}, {@code fm}, {@code fo}, {@code fr}, {@code ga}, {@code gb}, {@code gd}, {@code ge},
- * {@code gf}, {@code gg}, {@code gh}, {@code gi}, {@code gl}, {@code gm}, {@code gn}, {@code gp},
- * {@code gq}, {@code gr}, {@code gs}, {@code gt}, {@code gu}, {@code gw}, {@code gy}, {@code hk},
- * {@code hm}, {@code hn}, {@code hr}, {@code ht}, {@code hu}, {@code id}, {@code ie}, {@code il},
- * {@code im}, {@code in}, {@code io}, {@code iq}, {@code ir}, {@code is}, {@code it}, {@code je},
- * {@code jm}, {@code jo}, {@code jp}, {@code ke}, {@code kg}, {@code kh}, {@code ki}, {@code km},
- * {@code kn}, {@code kp}, {@code kr}, {@code kw}, {@code ky}, {@code kz}, {@code la}, {@code lb},
- * {@code lc}, {@code li}, {@code lk}, {@code lr}, {@code ls}, {@code lt}, {@code lu}, {@code lv},
- * {@code ly}, {@code ma}, {@code mc}, {@code md}, {@code me}, {@code mf}, {@code mg}, {@code mh},
- * {@code mk}, {@code ml}, {@code mm}, {@code mn}, {@code mo}, {@code mp}, {@code mq}, {@code mr},
- * {@code ms}, {@code mt}, {@code mu}, {@code mv}, {@code mw}, {@code mx}, {@code my}, {@code mz},
- * {@code na}, {@code nc}, {@code ne}, {@code nf}, {@code ng}, {@code ni}, {@code nl}, {@code no},
- * {@code np}, {@code nr}, {@code nu}, {@code nz}, {@code om}, {@code pa}, {@code pe}, {@code pf},
- * {@code pg}, {@code ph}, {@code pk}, {@code pl}, {@code pm}, {@code pn}, {@code pr}, {@code ps},
- * {@code pt}, {@code pw}, {@code py}, {@code qa}, {@code qz}, {@code re}, {@code ro}, {@code rs},
- * {@code ru}, {@code rw}, {@code sa}, {@code sb}, {@code sc}, {@code sd}, {@code se}, {@code sg},
- * {@code sh}, {@code si}, {@code sj}, {@code sk}, {@code sl}, {@code sm}, {@code sn}, {@code so},
- * {@code sr}, {@code ss}, {@code st}, {@code sv}, {@code sx}, {@code sy}, {@code sz}, {@code tc},
- * {@code td}, {@code tf}, {@code tg}, {@code th}, {@code tj}, {@code tk}, {@code tl}, {@code tm},
- * {@code tn}, {@code to}, {@code tr}, {@code tt}, {@code tv}, {@code tw}, {@code tz}, {@code ua},
- * {@code ug}, {@code um}, {@code us}, {@code uy}, {@code uz}, {@code va}, {@code vc}, {@code ve},
- * {@code vg}, {@code vi}, {@code vn}, {@code vu}, {@code wf}, {@code ws}, {@code xx}, {@code ye},
- * {@code yt}, {@code za}, {@code zm}, or {@code zw}.
*/
@SerializedName("country")
String country;
@@ -137,8 +108,9 @@ public class FinancialAccount extends StripeObject implements HasId {
String type;
/**
- * For more details about Balance, please refer to the API
- * Reference.
+ * Multi-currency balance of this FinancialAccount, split by availability state. Each balance is
+ * represented as a hash where the key is the three-letter ISO currency code, in lowercase, and
+ * the value is the amount for that currency.
*/
@Getter
@Setter
@@ -158,8 +130,8 @@ public static class Balance extends StripeObject {
}
/**
- * For more details about Other, please refer to the API
- * Reference.
+ * If this is a {@code other} FinancialAccount, this hash indicates what the actual type is.
+ * Upgrade your API version to see it reflected in {@code type}.
*/
@Getter
@Setter
@@ -218,8 +190,8 @@ public static class ForwardingSettings extends StripeObject {
}
/**
- * For more details about Storage, please refer to the API
- * Reference.
+ * If this is a {@code storage} FinancialAccount, this hash includes details specific to {@code
+ * storage} FinancialAccounts.
*/
@Getter
@Setter
diff --git a/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAddress.java b/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAddress.java
index e1e83c0fecb..84d42e783d5 100644
--- a/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAddress.java
+++ b/src/main/java/com/stripe/model/v2/moneymanagement/FinancialAddress.java
@@ -9,6 +9,10 @@
import lombok.Getter;
import lombok.Setter;
+/**
+ * A FinancialAddress contains information needed to transfer money to a Financial Account. A
+ * Financial Account can have more than one Financial Address.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -26,36 +30,7 @@ public class FinancialAddress extends StripeObject implements HasId {
@SerializedName("credentials")
Credentials credentials;
- /**
- * Open Enum. The currency the FinancialAddress supports.
- *
- * One of {@code aed}, {@code afn}, {@code all}, {@code amd}, {@code ang}, {@code aoa}, {@code
- * ars}, {@code aud}, {@code awg}, {@code azn}, {@code bam}, {@code bbd}, {@code bdt}, {@code
- * bgn}, {@code bhd}, {@code bif}, {@code bmd}, {@code bnd}, {@code bob}, {@code bov}, {@code
- * brl}, {@code bsd}, {@code btn}, {@code bwp}, {@code byn}, {@code byr}, {@code bzd}, {@code
- * cad}, {@code cdf}, {@code che}, {@code chf}, {@code chw}, {@code clf}, {@code clp}, {@code
- * cny}, {@code cop}, {@code cou}, {@code crc}, {@code cuc}, {@code cup}, {@code cve}, {@code
- * czk}, {@code djf}, {@code dkk}, {@code dop}, {@code dzd}, {@code eek}, {@code egp}, {@code
- * ern}, {@code etb}, {@code eur}, {@code fjd}, {@code fkp}, {@code gbp}, {@code gel}, {@code
- * ghc}, {@code ghs}, {@code gip}, {@code gmd}, {@code gnf}, {@code gtq}, {@code gyd}, {@code
- * hkd}, {@code hnl}, {@code hrk}, {@code htg}, {@code huf}, {@code idr}, {@code ils}, {@code
- * inr}, {@code iqd}, {@code irr}, {@code isk}, {@code jmd}, {@code jod}, {@code jpy}, {@code
- * kes}, {@code kgs}, {@code khr}, {@code kmf}, {@code kpw}, {@code krw}, {@code kwd}, {@code
- * kyd}, {@code kzt}, {@code lak}, {@code lbp}, {@code lkr}, {@code lrd}, {@code lsl}, {@code
- * ltl}, {@code lvl}, {@code lyd}, {@code mad}, {@code mdl}, {@code mga}, {@code mkd}, {@code
- * mmk}, {@code mnt}, {@code mop}, {@code mro}, {@code mru}, {@code mur}, {@code mvr}, {@code
- * mwk}, {@code mxn}, {@code mxv}, {@code myr}, {@code mzn}, {@code nad}, {@code ngn}, {@code
- * nio}, {@code nok}, {@code npr}, {@code nzd}, {@code omr}, {@code pab}, {@code pen}, {@code
- * pgk}, {@code php}, {@code pkr}, {@code pln}, {@code pyg}, {@code qar}, {@code ron}, {@code
- * rsd}, {@code rub}, {@code rwf}, {@code sar}, {@code sbd}, {@code scr}, {@code sdg}, {@code
- * sek}, {@code sgd}, {@code shp}, {@code sle}, {@code sll}, {@code sos}, {@code srd}, {@code
- * ssp}, {@code std}, {@code stn}, {@code svc}, {@code syp}, {@code szl}, {@code thb}, {@code
- * tjs}, {@code tmt}, {@code tnd}, {@code top}, {@code try}, {@code ttd}, {@code twd}, {@code
- * tzs}, {@code uah}, {@code ugx}, {@code usd}, {@code usdb}, {@code usdc}, {@code usn}, {@code
- * uyi}, {@code uyu}, {@code uzs}, {@code vef}, {@code ves}, {@code vnd}, {@code vuv}, {@code
- * wst}, {@code xaf}, {@code xcd}, {@code xcg}, {@code xof}, {@code xpf}, {@code yer}, {@code
- * zar}, {@code zmk}, {@code zmw}, {@code zwd}, {@code zwg}, or {@code zwl}.
- */
+ /** Open Enum. The currency the FinancialAddress supports. */
@SerializedName("currency")
String currency;
@@ -94,8 +69,10 @@ public class FinancialAddress extends StripeObject implements HasId {
String status;
/**
- * For more details about Credentials, please refer to the API Reference.
+ * Object indicates the type of credentials that have been allocated and attached to the
+ * FinancialAddress. It contains all necessary banking details with which to perform money
+ * movements with the FinancialAddress. This field is only available for FinancialAddresses with
+ * an active status.
*/
@Getter
@Setter
@@ -124,8 +101,8 @@ public static class Credentials extends StripeObject {
UsBankAccount usBankAccount;
/**
- * For more details about GbBankAccount, please refer to the API Reference.
+ * The credentials of the UK Bank Account for the FinancialAddress. This contains unique banking
+ * details such as the sort code, account number, etc. of a UK bank account.
*/
@Getter
@Setter
@@ -153,8 +130,8 @@ public static class GbBankAccount extends StripeObject {
}
/**
- * For more details about UsBankAccount, please refer to the API Reference.
+ * The credentials of the US Bank Account for the FinancialAddress. This contains unique banking
+ * details such as the routing number, account number, etc. of a US bank account.
*/
@Getter
@Setter
diff --git a/src/main/java/com/stripe/model/v2/moneymanagement/InboundTransfer.java b/src/main/java/com/stripe/model/v2/moneymanagement/InboundTransfer.java
index f2d2cd3b9bf..4816f0ba479 100644
--- a/src/main/java/com/stripe/model/v2/moneymanagement/InboundTransfer.java
+++ b/src/main/java/com/stripe/model/v2/moneymanagement/InboundTransfer.java
@@ -7,10 +7,15 @@
import com.stripe.v2.Amount;
import java.time.Instant;
import java.util.List;
+import java.util.Map;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
+/**
+ * An InboundTransfer object, representing a money movement from a user owned PaymentMethod to a
+ * FinancialAccount belonging to the same user.
+ */
@Getter
@Setter
@EqualsAndHashCode(callSuper = false)
@@ -70,10 +75,7 @@ public class InboundTransfer extends StripeObject implements HasId {
@SerializedName("transfer_history")
List> recommendedEvidence;
/**
* Smart Disputes auto representment packet availability status.
diff --git a/src/main/java/com/stripe/model/EventDataClassLookup.java b/src/main/java/com/stripe/model/EventDataClassLookup.java
index c82f3439877..fb9183a4a40 100644
--- a/src/main/java/com/stripe/model/EventDataClassLookup.java
+++ b/src/main/java/com/stripe/model/EventDataClassLookup.java
@@ -117,8 +117,12 @@ public final class EventDataClassLookup {
"billing.meter_event_adjustment", com.stripe.model.billing.MeterEventAdjustment.class);
classLookup.put(
"billing.meter_event_summary", com.stripe.model.billing.MeterEventSummary.class);
- classLookup.put("billing.meter_usage", com.stripe.model.billing.MeterUsage.class);
- classLookup.put("billing.meter_usage_row", com.stripe.model.billing.MeterUsageRow.class);
+
+ classLookup.put(
+ "billing.analytics.meter_usage", com.stripe.model.billing.analytics.MeterUsage.class);
+ classLookup.put(
+ "billing.analytics.meter_usage_row",
+ com.stripe.model.billing.analytics.MeterUsageRow.class);
classLookup.put(
"billing_portal.configuration", com.stripe.model.billingportal.Configuration.class);
diff --git a/src/main/java/com/stripe/model/ExchangeRate.java b/src/main/java/com/stripe/model/ExchangeRate.java
index 50f6240bc25..6c82ffc2ec4 100644
--- a/src/main/java/com/stripe/model/ExchangeRate.java
+++ b/src/main/java/com/stripe/model/ExchangeRate.java
@@ -17,10 +17,14 @@
import lombok.Setter;
/**
- * {@code ExchangeRate} objects allow you to determine the rates that Stripe is currently using to
- * convert from one currency to another. Since this number is variable throughout the day, there are
- * various reasons why you might want to know the current rate (for example, to dynamically price an
- * item for a user with a default payment in a foreign currency).
+ * [Deprecated] The {@code ExchangeRate} APIs are deprecated. Please use the FX Quotes
+ * API instead.
+ *
+ *